CVE-2025-38236
published high CVSS 3.1 · 7.8af_unix: Don't leave consecutive consumed OOB skbs.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux314001f0bf927015e459c9d387d62a231fe93af3 to < 523edfed4f68b7794d85b9ac828c5f8f4442e4c5 · 314001f0bf927015e459c9d387d62a231fe93af3 to < a12237865b48a73183df252029ff5065d73d305e · 314001f0bf927015e459c9d387d62a231fe93af3 to < fad0a2c16062ac7c606b93166a7ce9d265bab976 · 314001f0bf927015e459c9d387d62a231fe93af3 to < 61a9ad7b69ce688697e5f63332f03e17725353bc · 314001f0bf927015e459c9d387d62a231fe93af3 to < 8db4d2d026e6e3649832bfe23b96c4acff0756db · 314001f0bf927015e459c9d387d62a231fe93af3 to < 32ca245464e1479bfea8592b9db227fdc1641705 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.194 through 5.15.* (unaffected · semver) · 6.1.143 through 6.1.* (unaffected · semver) · 6.6.96 through 6.6.* (unaffected · semver) · 6.12.36 through 6.12.* (unaffected · semver) · 6.15.5 through 6.15.* (unaffected · semver) · 6.16 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-088 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.147-1 | DSA-5973-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
Show 103 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1111 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1130 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.153-1~deb11u1 | DLA-4328-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-103.40.4.1.el10uek | ELSA-2025-20551 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-313.189.5.1.el8uek | ELSA-2025-20716 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-314.193.5.3.el8uek | ELSA-2025-25757 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: af_unix: Don't leave consecutive consumed OOB skbs. Jann Horn reported a use-after-free in unix_stream_read_generic(). The following sequences reproduce the issue: $ python3 from socket import * s1, s2 = socketpair(AF_UNIX, SOCK_STREAM) s1.send(b'x', MSG_OOB) s2.recv(1, MSG_OOB) # leave a consumed OOB skb s1.send(b'y', MSG_OOB) s2.recv(1, MSG_OOB) # leave a consumed OOB skb s1.send(b'z', MSG_OOB) s2.recv(1) # recv 'z' illegally s2.recv(1, MSG_OOB) # access 'z' skb (use-after-free) Even though a user reads OOB data, the skb holding the data stays on the recv queue to mark the OOB boundary and break the next recv(). After the last send() in the scenario above, the sk2's recv queue has 2 leading consumed OOB skbs and 1 real OOB skb. Then, the following happens during the next recv() without MSG_OOB 1. unix_stream_read_generic() peeks the first consumed OOB skb 2. manage_oob() returns the next consumed OOB skb 3. unix_stream_read_generic() fetches the next not-yet-consumed OOB skb 4. unix_stream_read_generic() reads and frees the OOB skb , and the last recv(MSG_OOB) triggers KASAN splat. The 3. above occurs because of the SO_PEEK_OFF code, which does not expect unix_skb_len(skb) to be 0, but this is true for such consumed OOB skbs. while (skip >= unix_skb_len(skb)) { skip -= unix_skb_len(skb); skb = skb_peek_next(skb, &sk->sk_receive_queue); ... } In addition to this use-after-free, there is another issue that ioctl(SIOCATMARK) does not function properly with consecutive consumed OOB skbs. So, nothing good comes out of such a situation. Instead of complicating manage_oob(), ioctl() handling, and the next ECONNRESET fix by introducing a loop for consecutive consumed OOB skbs, let's not leave such consecutive OOB unnecessarily. Now, while receiving an OOB skb in unix_stream_recv_urg(), if its previous skb is a consumed OOB skb, it is freed. [0]: BUG: KASAN: slab-use-after-free in unix_stream_read_actor (net/unix/af_unix.c:3027) Read of size 4 at addr ffff888106ef2904 by task python3/315 CPU: 2 UID: 0 PID: 315 Comm: python3 Not tainted 6.16.0-rc1-00407-gec315832f6f9 #8 PREEMPT(voluntary) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-4.fc42 04/01/2014 Call Trace: <TASK> dump_stack_lvl (lib/dump_stack.c:122) print_report (mm/kasan/report.c:409 mm/kasan/report.c:521) kasan_report (mm/kasan/report.c:636) unix_stream_read_actor (net/unix/af_unix.c:3027) unix_stream_read_generic (net/unix/af_unix.c:2708 net/unix/af_unix.c:2847) unix_stream_recvmsg (net/unix/af_unix.c:3048) sock_recvmsg (net/socket.c:1063 (discriminator 20) net/socket.c:1085 (discriminator 20)) __sys_recvfrom (net/socket.c:2278) __x64_sys_recvfrom (net/socket.c:2291 (discriminator 1) net/socket.c:2287 (discriminator 1) net/socket.c:2287 (discriminator 1)) do_syscall_64 (arch/x86/entry/syscall_64.c:63 (discriminator 1) arch/x86/entry/syscall_64.c:94 (discriminator 1)) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) RIP: 0033:0x7f8911fcea06 Code: 5d e8 41 8b 93 08 03 00 00 59 5e 48 83 f8 fc 75 19 83 e2 39 83 fa 08 75 11 e8 26 ff ff ff 66 0f 1f 44 00 00 48 8b 45 10 0f 05 <48> 8b 5d f8 c9 c3 0f 1f 40 00 f3 0f 1e fa 55 48 89 e5 48 83 ec 08 RSP: 002b:00007fffdb0dccb0 EFLAGS: 00000202 ORIG_RAX: 000000000000002d RAX: ffffffffffffffda RBX: 00007fffdb0dcdc8 RCX: 00007f8911fcea06 RDX: 0000000000000001 RSI: 00007f8911a5e060 RDI: 0000000000000006 RBP: 00007fffdb0dccd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000202 R12: 00007f89119a7d20 R13: ffffffffc4653600 R14: 0000000000000000 R15: 0000000000000000 </TASK> Allocated by task 315: kasan_save_stack (mm/kasan/common.c:48) kasan_save_track (mm/kasan/common.c:60 (discriminator 1) mm/kasan/common.c:69 (discriminator 1)) __kasan_slab_alloc (mm/kasan/common.c:348) kmem_cache_alloc_ ---truncated---
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 vulnerability is reached purely through local socket syscalls (`socketpair`/`send`/`recv`) on AF_UNIX stream sockets, which are a local IPC mechanism with no network exposure. No remote peer can drive this path. AC:L - The trigger is a fixed, deterministic sequence of six syscalls with no race, no memory-layout dependency, and no non-default configuration (CONFIG_AF_UNIX_OOB is default y and universally enabled); the reproducer works 100% of the time. PR:L - Any unprivileged local user can create an AF_UNIX socketpair and send/receive MSG_OOB data — no capabilities, no user namespace, and no privileged setsockopt (SO_PEEK_OFF is not required) are needed, and it works from inside seccomp sandboxes and containers. UI:N - The attacking process performs the entire sequence on its own socketpair; no victim action or interaction of any kind is involved. S:U - The use-after-free corrupts kernel heap state within the same security authority, yielding standard local privilege escalation rather than crossing a virtualization or IOMMU boundary. C:H - The stale `u->oob_skb` lets `recv(MSG_OOB)` copy data out of a freed `skbuff_head_cache` object into userspace, and `MSG_OOB|MSG_PEEK` does not clear the pointer, giving a repeatable read primitive over a sprayable slab that can be groomed to disclose arbitrary kernel memory. I:H - The non-PEEK path writes into the freed object (`UNIXCB(oob_skb).consumed += 1`), performs `__skb_unlink`/`consume_skb` on it (list-pointer writes and double-free), and a reallocated skb aliasing the stale pointer yields type confusion — a classic UAF write primitive exploitable for control-flow hijack. A:H - Dereferencing the freed sk_buff's data and fragment pointers produces the KASAN slab-use-after-free splat shown in the commit and, without KASAN, wild-pointer dereferences, slab corruption, and kernel panic that any unprivileged user can trigger repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 314001f0bf927015e459c9d387d62a231fe93af3 to < 523edfed4f68b7794d85b9ac828c5f8f4442e4c5 (affected · git)314001f0bf927015e459c9d387d62a231fe93af3 to < a12237865b48a73183df252029ff5065d73d305e (affected · git)314001f0bf927015e459c9d387d62a231fe93af3 to < fad0a2c16062ac7c606b93166a7ce9d265bab976 (affected · git)314001f0bf927015e459c9d387d62a231fe93af3 to < 61a9ad7b69ce688697e5f63332f03e17725353bc (affected · git)314001f0bf927015e459c9d387d62a231fe93af3 to < 8db4d2d026e6e3649832bfe23b96c4acff0756db (affected · git)314001f0bf927015e459c9d387d62a231fe93af3 to < 32ca245464e1479bfea8592b9db227fdc1641705 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.194 through 5.15.* (unaffected · semver)6.1.143 through 6.1.* (unaffected · semver)6.6.96 through 6.6.* (unaffected · semver)6.12.36 through 6.12.* (unaffected · semver)6.15.5 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
9- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://git.kernel.org/stable/c/32ca245464e1479bfea8592b9db227fdc1641705
- https://git.kernel.org/stable/c/523edfed4f68b7794d85b9ac828c5f8f4442e4c5
- https://git.kernel.org/stable/c/61a9ad7b69ce688697e5f63332f03e17725353bc
- https://git.kernel.org/stable/c/8db4d2d026e6e3649832bfe23b96c4acff0756db
- https://git.kernel.org/stable/c/a12237865b48a73183df252029ff5065d73d305e
- https://git.kernel.org/stable/c/fad0a2c16062ac7c606b93166a7ce9d265bab976
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://project-zero.issues.chromium.org/issues/423023990
Provider assertions
3Linux · cna
af_unix: Don't leave consecutive consumed OOB skbs.
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 770ebe530c4ebc85715c2331dff25e877a5b99e9ebf1fdb4aa3dea6e619651b5
- Ingested
- 15 Oct 2026, 13:12:09 UTC
- Source record
- Official CVE record