CVEBrief

Home / Linux / Linux / CVE-2022-50457

CVE-2022-50457: is it exploited, and which versions of Linux are affected and fixed?

CVE-2022-50457 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: Linux from 5.17 until the fixed versions (CVE record by Linux). Fixed in 6.0.16, 6.1.2 and 6.2 (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 28, 2026, 19:22 UTC and NVD November 19, 2026, 07:16 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 17:39 UTC
Affected
Linux from 5.17 until the fixed versions
CVE record by Linux
Fixed in
6.0.16, 6.1.2 and 6.2
CVE record by Linux
Severity
Medium 5.5
CVSS 3.1 from NVD
Exploit odds (EPSS)
0.17% in 30 days
higher than 6% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2022-50457?

In the Linux kernel, the following vulnerability has been resolved: mtd: core: Fix refcount error in del_mtd_device() del_mtd_device() will call of_node_put() to mtd_get_of_node(mtd), which is mtd->dev.of_node. However, memset(&mtd->dev, 0) is called before of_node_put(). As the result, of_node_put() won't do anything in del_mtd_device(), and causes the refcount leak. del_mtd_device() memset(&mtd->dev, 0, sizeof(mtd->dev) # clear mtd->dev of_node_put() mtd_get_of_node(mtd) # mtd->dev is cleared, can't locate of_node # of_node_put(NULL) won't do anything Fix the error by caching the pointer of the device_node. OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /spi/spi-sram@0 CPU: 3 PID: 275 Comm: python3 Tainted: G N 6.1.0-rc3+ #54 0d8a1edddf51f172ff5226989a7565c6313b08e2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.15.0-0-g2dd4b9b3f840-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x67/0x83 kobject_get+0x155/0x160 of_node_get+0x1f/0x30 of_fwnode_get+0x43/0x70 fwnode_handle_get+0x54/0x80 fwnode_get_nth_parent+0xc9/0xe0 fwnode_full_name_string+0x3f/0xa0 device_node_string+0x30f/0x750 pointer+0x598/0x7a0 vsnprintf+0x62d/0x9b0 ... cfs_overlay_release+0x30/0x90 config_item_release+0xbe/0x1a0 config_item_put+0x5e/0x80 configfs_rmdir+0x3bd/0x540 vfs_rmdir+0x18c/0x320 do_rmdir+0x198/0x330 __x64_sys_rmdir+0x2c/0x40 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd [: Light reword of the commit log]

From the CVE record by Linux, last updated October 30, 2026, 12:17 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 5.17 until the fixed versions6.0.16, 6.1.2, 6.2

As the CVE record by Linux states it, last updated October 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 5.17 before 6.0.16operating system
linuxlinux kernelfrom 6.1 before 6.1.2operating system

NVD analysis (status Modified), last modified October 30, 2026, 13:17 UTC.

How severe is CVE-2022-50457?

ScoreVersionVectorSource
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-50457 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.17% probability of exploitation activity in the next 30 days, percentile 6.1 (FIRST EPSS, scores of December 3, 2026)

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
October 1, 2025
Published
October 1, 2025, 11:45 UTC
CVE record updated
October 30, 2026, 12:17 UTC by Linux
NVD
Modified, last modified October 30, 2026, 13:17 UTC
Last checked
CVE list November 28, 2026, 19:22 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2022-50457

Is CVE-2022-50457 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2022-50457?

Linux from 5.17 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2022-50457?

6.0.16, 6.1.2 and 6.2, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-50457?

Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.

Where is the official record of CVE-2022-50457?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.