Skip to content
Fencer Vulns
medium 5.5

CVE-2022-50356 json

net: sched: sfb: fix null pointer access issue when sfb_init() fails

published 2025-09-17 13 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-55642

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

In the Linux kernel, the following vulnerability has been resolved:

net: sched: sfb: fix null pointer access issue when sfb_init() fails

When the default qdisc is sfb, if the qdisc of dev_queue fails to be inited during mqprio_init(), sfb_reset() is invoked to clear resources. In this case, the q->qdisc is NULL, and it will cause gpf issue.

The process is as follows: qdisc_create_dflt() sfb_init() tcf_block_get() --->failed, q->qdisc is NULL ... qdisc_put() ... sfb_reset() qdisc_reset(q->qdisc) --->q->qdisc is NULL ops = qdisc->ops

The following is the Call Trace information: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] RIP: 0010:qdisc_reset+0x2b/0x6f0 Call Trace: <TASK> sfb_reset+0x37/0xd0 qdisc_reset+0xed/0x6f0 qdisc_destroy+0x82/0x4c0 qdisc_put+0x9e/0xb0 qdisc_create_dflt+0x2c3/0x4a0 mqprio_init+0xa71/0x1760 qdisc_create+0x3eb/0x1000 tc_modify_qdisc+0x408/0x1720 rtnetlink_rcv_msg+0x38e/0xac0 netlink_rcv_skb+0x12d/0x3a0 netlink_unicast+0x4a2/0x740 netlink_sendmsg+0x826/0xcc0 sock_sendmsg+0xc5/0x100 ____sys_sendmsg+0x583/0x690 ___sys_sendmsg+0xe8/0x160 __sys_sendmsg+0xbf/0x160 do_syscall_64+0x35/0x80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f2164122d04 </TASK>

Patch / fix

  • Linux Linux 5.10.152, 5.15.76, 6.0.6, 6.1
  • linux Debian 14, Debian 13, Debian 12 6.0.6-1

debian advisories DEBIAN-CVE-2022-50356

  • linux Ubuntu 22.04 LTS 5.15.0-60.66
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1030.34
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1029.36
  • linux-gke Ubuntu 22.04 LTS 5.15.0-1027.32
  • linux-ibm Ubuntu 22.04 LTS 5.15.0-1025.28
  • linux-kvm Ubuntu 22.04 LTS 5.15.0-1028.33
  • linux-azure Ubuntu 22.04 LTS 5.15.0-1033.40
  • linux-gkeop Ubuntu 22.04 LTS 5.15.0-1015.19

ubuntu advisories UBUNTU-CVE-2022-50356

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-513.5.1.el8_9
  • perf RHEL 8 4.18.0-513.5.1.el8_9
  • bpftool RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-core RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
  • python3-perf RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9

red hat advisories RHSA-2025:23960RHSA-2025:23947RHSA-2025:23445RHSA-2025:22752RHSA-2025:22006RHSA-2025:21136

  • kernel-rt SLE Micro 5.5 5.14.21-150500.13.109.1
  • kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.109.1
  • kernel-64kb SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS, SLE High Performance Computing 15 SP5-ESPOS 5.14.21-150500.55.124.1
  • kernel-syms SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.124.1
  • kernel-source SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.124.1
  • kernel-default SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +3 more 5.14.21-150500.55.124.1
  • kernel-obs-build SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 5.14.21-150500.55.124.1
  • kernel-default-base SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Micro 5.5 +2 more 5.14.21-150500.55.124.1.150500.6.59.1

suse advisories SUSE-SU-2025:4189-1SUSE-SU-2025:3761-1SUSE-SU-2025:03615-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-50356 updated cvss 7.0

kernel: net: sched: sfb: fix null pointer access issue when sfb_init() fails

  • Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    affected: workaround, no fix available
  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9
    fixed: vendor fix RHSA-2023:7077
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.153.1.el9_0, kernel-devel-matched 5.14.0-70.153.1.el9_0, kernel-debug-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.153.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.153.1.el9_0, +2 more
    fixed: vendor fix RHSA-2025:21091
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.146.1.el9_2, rtla 5.14.0-284.146.1.el9_2, kernel-devel-matched 5.14.0-284.146.1.el9_2, kernel-64k-devel-matched 5.14.0-284.146.1.el9_2, kernel-debug-devel-matched 5.14.0-284.146.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.146.1.el9_2, +5 more
    fixed: vendor fix RHSA-2025:21051
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 more
    fixed: vendor fix RHSA-2023:7077
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.178.1.el8_2, kernel 4.18.0-193.178.1.el8_2, bpftool 4.18.0-193.178.1.el8_2, kernel-core 4.18.0-193.178.1.el8_2, kernel-tools 4.18.0-193.178.1.el8_2, python3-perf 4.18.0-193.178.1.el8_2, +8 more
    fixed: vendor fix RHSA-2025:23445
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
show 12 more
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +15 more
    fixed: vendor fix RHSA-2025:22006
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.118.1.el8_8, kernel 4.18.0-477.118.1.el8_8, bpftool 4.18.0-477.118.1.el8_8, kernel-core 4.18.0-477.118.1.el8_8, kernel-tools 4.18.0-477.118.1.el8_8, python3-perf 4.18.0-477.118.1.el8_8, +9 more
    fixed: vendor fix RHSA-2025:21083
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.153.1.el9_0, bpftool 5.14.0-70.153.1.el9_0, kernel-core 5.14.0-70.153.1.el9_0, kernel-tools 5.14.0-70.153.1.el9_0, python3-perf 5.14.0-70.153.1.el9_0, kernel-modules 5.14.0-70.153.1.el9_0, +14 more
    fixed: vendor fix RHSA-2025:21091
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.146.1.el9_2, kernel 5.14.0-284.146.1.el9_2, kernel-64k 5.14.0-284.146.1.el9_2, kernel-core 5.14.0-284.146.1.el9_2, kernel-tools 5.14.0-284.146.1.el9_2, python3-perf 5.14.0-284.146.1.el9_2, +28 more
    fixed: vendor fix RHSA-2025:21051
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.170.1.el8_6, kernel 4.18.0-372.170.1.el8_6, bpftool 4.18.0-372.170.1.el8_6, kernel-core 4.18.0-372.170.1.el8_6, kernel-tools 4.18.0-372.170.1.el8_6, python3-perf 4.18.0-372.170.1.el8_6, +8 more
    fixed: vendor fix RHSA-2025:22006
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.118.1.el8_8, kernel 4.18.0-477.118.1.el8_8, bpftool 4.18.0-477.118.1.el8_8, kernel-core 4.18.0-477.118.1.el8_8, kernel-tools 4.18.0-477.118.1.el8_8, python3-perf 4.18.0-477.118.1.el8_8, +8 more
    fixed: vendor fix RHSA-2025:21083
  • Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt 3.10.0-1160.144.1.rt56.1296.el7, kernel-rt-trace 3.10.0-1160.144.1.rt56.1296.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.144.1.rt56.1296.el7
    fixed: vendor fix RHSA-2025:23960
  • Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules-extra 5.14.0-70.153.1.rt21.225.el9_0, +2 more
    fixed: vendor fix RHSA-2025:21136
  • Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-modules 5.14.0-284.146.1.rt14.431.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, +6 more
    fixed: vendor fix RHSA-2025:21128
  • Red Hat Enterprise Linux Server (v. 7 ELS) perf 3.10.0-1160.144.1.el7, kernel 3.10.0-1160.144.1.el7, bpftool 3.10.0-1160.144.1.el7, python-perf 3.10.0-1160.144.1.el7, kernel-kdump 3.10.0-1160.144.1.el7, kernel-tools 3.10.0-1160.144.1.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debuginfo-common-ppc64 3.10.0-1160.144.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.144.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.144.1.el7
    fixed: vendor fix RHSA-2025:23947
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
9 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.