cve.bz

CVE-2023-53136 linux linux kernel: Out-of-bounds Read

7.1 highEPSS 0.2%Fix available

High (7.1) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: af_unix: fix struct pid leaks in OOB support syzbot reported struct pid leak [1]. Issue is that queue_oob() calls maybe_add_creds() which potentially holds a reference on a pid. But skb->destructor is not set (either directly or by calling unix_scm_to_skb()) This means that subsequent kfree_skb() or consume_skb() would leak this reference. In this fix, I chose to fully support scm even for the OOB message. [1] BUG: memory leak unreferenced object 0xffff8881053e7f80 (size 128): comm "syz-executor242", pid 5066, jiffies 4294946079 (age 13.220s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<ffffffff812ae26a>] alloc_pid+0x6a/0x560 kernel/pid.c:180 [<ffffffff812718df>] copy_process+0x169f/0x26c0 kernel/fork.c:2285 [<ffffffff81272b37>] kernel_clone+0xf7/0x610 kernel/fork.c:2684 [<ffffffff812730cc>] __do_sys_clone+0x7c/0xb0 kernel/fork.c:2825 [<ffffffff849ad699>] do_syscall_x64 arch/x86/entry/common.c:50 [inline] [<ffffffff849ad699>] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 [<ffffffff84a0008b>] entry_SYSCALL_64_after_hwframe+0x63/0xcd

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-53136 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53136?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53136?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-53136 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux5.15 and later

Fixed in

ProductRelease lineFixed in
Linux5.155.15.103
Linux6.16.1.20
Linux6.26.2.7
Linuxlater releases6.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.1.20-1DEBIAN-CVE-2023-53136
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53136
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1041.46~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1045.52~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1039.47~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-hwe-5.155.15.0-79.86~20.04.2UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1036.39~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1037.42~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-lowlatency-hwe-5.155.15.0-79.88~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1016.16~20.04.1UBUNTU-CVE-2023-53136
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-53136
22 more for Ubuntu in the JSON and on Ubuntu's page.
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53136

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A memory leak in the AF_UNIX OOB message handling was fixed in queue_oob().

When SCM credentials were attached to an OOB message, a missing call to unix_scm_to_skb() resulted in leaked struct pid references, as skb->destructor was not set. The issue was reported by Syzbot and required a process to send OOB messages with SCM credentials. Local attackers with the ability to create UNIX domain sockets and send OOB messages can trigger a kernel memory leak.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-53136.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON