CVE-2022-50304Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 95.60%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: core: fix possible resource leak in init_mtd() I got the error report while inject fault in init_mtd(): sysfs: cannot create duplicate filename '/devices/virtual/bdi/mtd-0' Call Trace: dump_stack_lvl+0x67/0x83 sysfs_warn_dup+0x60/0x70 sysfs_create_dir_ns+0x109/0x120 kobject_add_internal+0xce/0x2f0 kobject_add+0x98/0x110 device_add+0x179/0xc00 device_create_groups_vargs+0xf4/0x100 device_create+0x7b/0xb0 bdi_register_va.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages7 packages

NVDlinux/linux_kernel4.106.0.16+1
Debianlinux/linux_kernel< 6.1.4-1+2
CVEListV5linux/linux445caaa20c4d6da74f426464f90513b81157ad7778816504100cbd8e6836df9f58cc4fbb8b262f1c+3
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
GHSA
GHSA-x78r-fcw5-873j: In the Linux kernel, the following vulnerability has been resolved: mtd: core: fix possible resource leak in init_mtd() I got the error report while2025-09-15
OSV
CVE-2022-50304: In the Linux kernel, the following vulnerability has been resolved: mtd: core: fix possible resource leak in init_mtd() I got the error report while i2025-09-15

📋Vendor Advisories

3
Red Hat
kernel: mtd: core: fix possible resource leak in init_mtd()2025-09-15
Microsoft
mtd: core: fix possible resource leak in init_mtd()2025-09-09
Debian
CVE-2022-50304: linux - In the Linux kernel, the following vulnerability has been resolved: mtd: core: ...2022
CVE-2022-50304 — Linux vulnerability | cvebase