
CVE catalog
CVE-2022-50751
linux: CVE-2022-50751
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
In the Linux kernel, the following vulnerability has been resolved: configfs: fix possible memory leak in configfs_create_dir() kmemleak reported memory leaks in configfs_create_dir(): unreferenced object 0xffff888009f6af00 (size 192): comm "modprobe", pid 3777, jiffies 4295537735 (age 233.784s) backtrace: kmem_cache_alloc (mm/slub.c:3250 mm/slub.c:3256 mm/slub.c:3263 mm/slub.c:3273) new_fragment (./include/linux/slab.h:600 fs/configfs/dir.c:163) configfs_register_subsystem (fs/configfs/dir.c:1857) basic_write (drivers/hwtracing/stm/p_basic.c:14) stm_p_basic do_one_initcall (init/main.c:1296) do_init_module (kernel/module/main.c:2455) ... unreferenced object 0xffff888003ba7180 (size 96): comm "modprobe", pid 3777, jiffies 4295537735 (age 233.784s) backtrace: kmem_cache_alloc (mm/slub.c:3250 mm/slub.c:3256 mm/slub.c:3263 mm/slub.c:3273) configfs_new_dirent (./include/linux/slab.h:723 fs/configfs/dir.c:194) configfs_make_dirent (fs/configfs/dir.c:248) configfs_create_dir (fs/configfs/dir.c:296) configfs_attach_group.isra.28 (fs/configfs/dir.c:816 fs/configfs/dir.c:852) configfs_register_subsystem (fs/configfs/dir.c:1881) basic_write (drivers/hwtracing/stm/p_basic.c:14) stm_p_basic do_one_initcall (init/main.c:1296) do_init_module (kernel/module/main.c:2455) ... This is because the refcount is not correct in configfs_make_dirent(). For normal stage, the refcount is changing as: configfs_register_subsystem() configfs_create_dir() configfs_make_dirent() configfs_new_dirent() # set s_count = 1 dentry->d_fsdata = configfs_get(sd); # s_count = 2 ... configfs_unregister_subsystem() configfs_remove_dir() remove_dir() configfs_remove_dirent() # s_count = 1 dput() ... *dentry_unlink_inode()* configfs_d_iput() # s_count = 0, release However, if we failed in configfs_create(): configfs_register_subsystem() configfs_create_dir() configfs_make_dirent() # s_count = 2 ... configfs_create() # fail ->out_remove: configfs_remove_dirent(dentry) configfs_put(sd) # s_count = 1 return PTR_ERR(inode); There is no inode in the error path, so the configfs_d_iput() is lost and makes sd and fragment memory leaked. To fix this, when we failed in configfs_create(), manually call configfs_put(sd) to keep the refcount correct.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | linux | sid | 7.2.12-1 | fixed |
| Debian | linux | forky | 7.2.12-1 | fixed |
| Debian | linux | trixie | 6.12.107-1 | fixed |
| Debian | linux | trixie-security | 6.12.113-1 | fixed |
| Debian | linux | bookworm | 6.1.176-1 | fixed |
| Debian | linux | bookworm-security | 6.1.190-1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | linux | source | sid | 6.1.4-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | forky | 6.1.4-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | trixie | 6.1.4-1 | not yet assigned | Not reported | Not reported |
| Debian | linux | source | bookworm | 6.1.4-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [bpftool]Unknown
Source package: [linux]
Details (6)
7.1.0+6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
7.1.0+6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
7.5.0+6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
7.1.0+6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
7.1.0+6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [hyperv-daemons]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [intel-sdsi]Unknown
Source package: [linux]
Details (1)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [libcpupower1]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [libcpupower-dev]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-bpf-dev]Unknown
Source package: [linux]
Details (2)
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-compiler-gcc-12-x86]Unknown
Source package: [linux]
Details (2)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-config-6.1]Unknown
Source package: [linux]
Details (4)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-cpupower]Unknown
Source package: [linux]
Details (6)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· amd64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· arm64 · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-doc]Unknown
Source package: [linux]
Details (32)
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.43-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.57-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.63-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.69-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.73-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.74-2~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.85-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.86-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.88-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.90-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.90-2~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.94-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.12.95-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-doc-6.1]Unknown
Source package: [linux]
Details (6)
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.176-1· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.180-1· all · bookworm-securityFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-cloud-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-common]Unknown
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-common-rt]Unknown
Source package: [linux]
Details (2)
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
6.1.170-3· all · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-amd64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-47-rt-arm64]Unknown
Source package: [linux]
Details (1)
6.1.170-3· arm64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
- [linux-headers-6.1.0-50-amd64]Unknown
Source package: [linux]
Details (1)
6.1.176-1· amd64 · bookwormFixed · Fixed:
6.1.4-1dsa · linux · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2026_0263-1.json]
- [https://security-tracker.debian.org/tracker/CVE-2022-50751]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-50751.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-2929.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]