Home / Linux / Linux / CVE-2022-50477
CVE-2022-50477: is it exploited, and which versions of Linux are affected and fixed?
CVE-2022-50477 is a memory leak 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, 10:08 UTC). Affected: Linux from 5.16 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, 10:08 UTC, CVE record November 28, 2026, 19:21 UTC and NVD November 19, 2026, 07:16 UTC.
What is CVE-2022-50477?
In the Linux kernel, the following vulnerability has been resolved: rtc: class: Fix potential memleak in devm_rtc_allocate_device() devm_rtc_allocate_device() will alloc a rtc_device first, and then run dev_set_name(). If dev_set_name() failed, the rtc_device will memleak. Move devm_add_action_or_reset() in front of dev_set_name() to prevent memleak. unreferenced object 0xffff888110a53000 (size 2048): comm "python3", pid 470, jiffies 4296078308 (age 58.882s) hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 08 30 a5 10 81 88 ff ff .........0...... 08 30 a5 10 81 88 ff ff 00 00 00 00 00 00 00 00 .0.............. backtrace: [<000000004aac0364>] kmalloc_trace+0x21/0x110 [<000000000ff02202>] devm_rtc_allocate_device+0xd4/0x400 [<000000001bdf5639>] devm_rtc_device_register+0x1a/0x80 [<00000000351bf81c>] rx4581_probe+0xdd/0x110 [rtc_rx4581] [<00000000f0eba0ae>] spi_probe+0xde/0x130 [<00000000bff89ee8>] really_probe+0x175/0x3f0 [<00000000128e8d84>] __driver_probe_device+0xe6/0x170 [<00000000ee5bf913>] device_driver_attach+0x32/0x80 [<00000000f3f28f92>] bind_store+0x10b/0x1a0 [<000000009ff812d8>] drv_attr_store+0x49/0x70 [<000000008139c323>] sysfs_kf_write+0x8d/0xb0 [<00000000b6146e01>] kernfs_fop_write_iter+0x214/0x2d0 [<00000000ecbe3895>] vfs_write+0x61a/0x7d0 [<00000000aa2196ea>] ksys_write+0xc8/0x190 [<0000000046a600f5>] do_syscall_64+0x37/0x90 [<00000000541a336f>] entry_SYSCALL_64_after_hwframe+0x63/0xcd
From the CVE record by Linux, last updated November 5, 2026, 20:20 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | not stated | |
| Linux | Linux | from 5.16 until the fixed versions | 6.0.16, 6.1.2, 6.2 |
As the CVE record by Linux states it, last updated November 5, 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?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.16 before 6.0.16 | operating system |
| linux | linux kernel | from 6.1 before 6.1.2 | operating system |
NVD analysis (status Analyzed), last modified November 5, 2026, 21:17 UTC.
How severe is CVE-2022-50477?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
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-50477 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-401 Missing Release of Memory after Effective Lifetime
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/0bcfc8fd3e596994f527b46730579428b3a4fa5f
- https://git.kernel.org/stable/c/59457a0f079eae19aaf322b3cc1c8ba66f55c5f3
- https://git.kernel.org/stable/c/60da73808298ff2cfa9f165d55eb3d7aa7078601
When was it published, and where is the official record?
- Reserved
- October 4, 2025
- Published
- October 4, 2025, 15:16 UTC
- CVE record updated
- November 5, 2026, 20:20 UTC by Linux
- NVD
- Analyzed, last modified November 5, 2026, 21:17 UTC
- Last checked
- CVE list November 28, 2026, 19:21 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2022-50477
Is CVE-2022-50477 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2022-50477?
Linux from 5.16 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2022-50477?
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-50477?
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-50477?
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.