CVE-2023-53484
published high CVSS 3.1 · 7.8lib: cpu_rmap: Avoid use after free on rmap->obj array entries
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 981f339d2905b6a92ef59358158b326493aecac5 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < d1308bd0b24cb1d78fa2747d5fa3e055cc628a48 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < cc2d2b3dbfb0ba57bc027fb7e1121250c50e4000 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < f748e15253833b771acbede14ea98f50831ac289 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < c6ed54dd90698dc0744d669524cc1c122ded8a16 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < c9115f49cf260d24d8b5f2d9a4b63cb31a627bb4 · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 67bca5f1d644f4e79b694abd8052a177de81c37f · 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 4e0473f1060aa49621d40a113afde24818101d37 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 4.14.316 through 4.14.* (unaffected · semver) · 4.19.284 through 4.19.* (unaffected · semver) · 5.4.244 through 5.4.* (unaffected · semver) · 5.10.181 through 5.10.* (unaffected · semver) · 5.15.113 through 5.15.* (unaffected · semver) · 6.1.30 through 6.1.* (unaffected · semver) · 6.3.4 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2100 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2023-034 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2023-021 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2023-047 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2-2023-2100 |
Show 64 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-228 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaults390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | cluster-md-kmp-defaultx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaults390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | dlm-kmp-defaultx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaults390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | gfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaults390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-defaultx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-baseppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-bases390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-basex86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-devels390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-develx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgrafts390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraftx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-devels390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-kgraft-develx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-default-mans390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-develnoarch | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-macrosnoarch | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-sourcenoarch | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symss390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kernel-symsx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_280-defaultppc64le | Advisory build | 1-8.5.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_280-defaults390x | Advisory build | 1-8.5.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | kgraft-patch-4_12_14-122_280-defaultx86_64 | Advisory build | 1-8.5.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultaarch64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultppc64le | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaults390x | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| SUSE / openSUSE | SLE-12-SP5 | ocfs2-kmp-defaultx86_64 | Advisory build | 4.12.14-122.280.1 | SUSE-SU-2025:4189-1 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelaarch64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2-2023-2100 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kerneli686 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2-2023-2100 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelsrc | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2-2023-2100 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.10-2023-034 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.15-2023-021 |
| Amazon Linux | AL2 | kernelx86_64 | Listed in advisory | Not stated | ALAS2KERNEL-5.4-2023-047 |
| Amazon Linux | AL2023 | kernelaarch64 | Listed in advisory | Not stated | ALAS2023-2023-228 |
| Amazon Linux | AL2023 | kernelsrc | Listed in advisory | Not stated | ALAS2023-2023-228 |
| Amazon Linux | AL2023 | kernelx86_64 | Listed in advisory | Not stated | ALAS2023-2023-228 |
Description
In the Linux kernel, the following vulnerability has been resolved: lib: cpu_rmap: Avoid use after free on rmap->obj array entries When calling irq_set_affinity_notifier() with NULL at the notify argument, it will cause freeing of the glue pointer in the corresponding array entry but will leave the pointer in the array. A subsequent call to free_irq_cpu_rmap() will try to free this entry again leading to possible use after free. Fix that by setting NULL to the array entry and checking that we have non-zero at the array entry when iterating over the array in free_irq_cpu_rmap(). The current code does not suffer from this since there are no cases where irq_set_affinity_notifier(irq, NULL) (note the NULL passed for the notify arg) is called, followed by a call to free_irq_cpu_rmap() so we don't hit and issue. Subsequent patches in this series excersize this flow, hence the required fix.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached only through local device-configuration and teardown paths (`ethtool -L`/set-channels, interface down, devlink SF/VF teardown, driver unbind) that drive `irq_cpu_rmap_remove()` and `free_irq_cpu_rmap()`. No remote packet or protocol data reaches `lib/cpu_rmap.c`; the RFS receive path only reads `rmap->near[]`, not the freed glue objects. AC:L - The use-after-free is deterministic and requires no race — releasing an IRQ vector leaves a stale `rmap->obj[]` entry that the subsequent `free_irq_cpu_rmap()` walk unconditionally dereferences, and the attacker fully controls the ordering and timing of both steps. `CONFIG_RFS_ACCEL` is `default y` (depends on `RPS`), so the required configuration is the norm on distro kernels, and the unbounded window between free and walk lets the attacker reliably groom the `kmalloc-64` slab. PR:L - Triggering requires CAP_NET_ADMIN over the affected netdev (ethtool set-channels, link down, devlink SF removal), which per kernel-CNA guidance scores as Low rather than High. In common SR-IOV/container deployments an mlx5 VF netdev is delegated into a network namespace owned by a user namespace, giving an otherwise unprivileged container-local user exactly this capability over the device. UI:N - No victim action is needed; the attacker performs both the IRQ-vector release and the subsequent rmap teardown entirely on their own via device reconfiguration. S:U - The freed object, the corrupted state, and the resulting impact are all within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - This is a use-after-free on a `kmalloc-64` GFP_KERNEL object with an attacker-paced reclaim window, so the freed `struct irq_glue` can be reoccupied with sprayed data; the attacker-controlled `notify.irq` then selects an arbitrary `irq_desc`, and the resulting refcount underflow and indirect `->release` call chain can be leveraged into arbitrary kernel memory disclosure. I:H - After reclaiming the freed glue, `irq_set_affinity_notifier(glue->notify.irq, NULL)` performs an arbitrary IRQ-descriptor lookup and issues spurious `kref_put(&old_notify->kref, old_notify->release)` calls on a live notifier, producing refcount underflow, premature free, and an indirect call through a function pointer — a control-flow hijack primitive rather than a mere crash. A:H - Even unweaponized, dereferencing the freed glue and passing garbage to `irq_set_affinity_notifier()` corrupts unrelated IRQ descriptor state and oopses/panics the kernel during device teardown, and the double kref_put can prematurely free the cpu_rmap itself.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 981f339d2905b6a92ef59358158b326493aecac5 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < d1308bd0b24cb1d78fa2747d5fa3e055cc628a48 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < cc2d2b3dbfb0ba57bc027fb7e1121250c50e4000 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < f748e15253833b771acbede14ea98f50831ac289 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < c6ed54dd90698dc0744d669524cc1c122ded8a16 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < c9115f49cf260d24d8b5f2d9a4b63cb31a627bb4 (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 67bca5f1d644f4e79b694abd8052a177de81c37f (affected · git)896f97ea95c1d29c0520ee0766b66b7f64cb967c to < 4e0473f1060aa49621d40a113afde24818101d37 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)4.14.316 through 4.14.* (unaffected · semver)4.19.284 through 4.19.* (unaffected · semver)5.4.244 through 5.4.* (unaffected · semver)5.10.181 through 5.10.* (unaffected · semver)5.15.113 through 5.15.* (unaffected · semver)6.1.30 through 6.1.* (unaffected · semver)6.3.4 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/4e0473f1060aa49621d40a113afde24818101d37
- https://git.kernel.org/stable/c/67bca5f1d644f4e79b694abd8052a177de81c37f
- https://git.kernel.org/stable/c/981f339d2905b6a92ef59358158b326493aecac5
- https://git.kernel.org/stable/c/c6ed54dd90698dc0744d669524cc1c122ded8a16
- https://git.kernel.org/stable/c/c9115f49cf260d24d8b5f2d9a4b63cb31a627bb4
- https://git.kernel.org/stable/c/cc2d2b3dbfb0ba57bc027fb7e1121250c50e4000
- https://git.kernel.org/stable/c/d1308bd0b24cb1d78fa2747d5fa3e055cc628a48
- https://git.kernel.org/stable/c/f748e15253833b771acbede14ea98f50831ac289
Provider assertions
2Linux · cna
lib: cpu_rmap: Avoid use after free on rmap->obj array entries
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e1abbd8b7e3f691b7975e06134ac6173442f7663d5d52c8f1adc4ae7ab600ec
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record