CVE-2023-53836
published high CVSS 3.1 · 7.8bpf, sockmap: Fix skb refcnt race after locking changes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < 65ad600b9bde68d2d28709943ab00b51ca8f0a1d · 799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < 923877254f002ae87d441382bb1096d9e773d56d · 799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < e6b5e47adb9166e732cdf7e6e034946e3f89f36d · 799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < a454d84ee20baf7bd7be90721b9821f73c7d23d9 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.13 (affected) · 0 to < 5.13 (unaffected · semver) · 5.15.189 through 5.15.* (unaffected · semver) · 6.1.54 through 6.1.* (unaffected · semver) · 6.5.4 through 6.5.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-087 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-356 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.84.1.150600.12.38.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaultppc64le | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaults390x | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_84-defaultx86_64 | Advisory build | 1-150600.13.3.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.84.1 | SUSE-SU-2026:0293-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.28.1.150700.17.19.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-develnoarch | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150700.20.24.1 | SUSE-SU-2026:0281-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150700.7.28.1 | SUSE-SU-2026:0278-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-docsnoarch | Advisory build | 6.4.0-150700.53.28.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_28-defaultppc64le | Advisory build | 1-150700.15.3.1 | SUSE-SU-2026:0315-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_28-defaults390x | Advisory build | 1-150700.15.3.1 | SUSE-SU-2026:0315-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix skb refcnt race after locking changes There is a race where skb's from the sk_psock_backlog can be referenced after userspace side has already skb_consumed() the sk_buff and its refcnt dropped to zer0 causing use after free. The flow is the following: while ((skb = skb_peek(&psock->ingress_skb)) sk_psock_handle_Skb(psock, skb, ..., ingress) if (!ingress) ... sk_psock_skb_ingress sk_psock_skb_ingress_enqueue(skb) msg->skb = skb sk_psock_queue_msg(psock, msg) skb_dequeue(&psock->ingress_skb) The sk_psock_queue_msg() puts the msg on the ingress_msg queue. This is what the application reads when recvmsg() is called. An application can read this anytime after the msg is placed on the queue. The recvmsg hook will also read msg->skb and then after user space reads the msg will call consume_skb(skb) on it effectively free'ing it. But, the race is in above where backlog queue still has a reference to the skb and calls skb_dequeue(). If the skb_dequeue happens after the user reads and free's the skb we have a use after free. The !ingress case does not suffer from this problem because it uses sendmsg_*(sk, msg) which does not pass the sk_buff further down the stack. The following splat was observed with 'test_progs -t sockmap_listen': [ 1022.710250][ T2556] general protection fault, ... [...] [ 1022.712830][ T2556] Workqueue: events sk_psock_backlog [ 1022.713262][ T2556] RIP: 0010:skb_dequeue+0x4c/0x80 [ 1022.713653][ T2556] Code: ... [...] [ 1022.720699][ T2556] Call Trace: [ 1022.720984][ T2556] <TASK> [ 1022.721254][ T2556] ? die_addr+0x32/0x80^M [ 1022.721589][ T2556] ? exc_general_protection+0x25a/0x4b0 [ 1022.722026][ T2556] ? asm_exc_general_protection+0x22/0x30 [ 1022.722489][ T2556] ? skb_dequeue+0x4c/0x80 [ 1022.722854][ T2556] sk_psock_backlog+0x27a/0x300 [ 1022.723243][ T2556] process_one_work+0x2a7/0x5b0 [ 1022.723633][ T2556] worker_thread+0x4f/0x3a0 [ 1022.723998][ T2556] ? __pfx_worker_thread+0x10/0x10 [ 1022.724386][ T2556] kthread+0xfd/0x130 [ 1022.724709][ T2556] ? __pfx_kthread+0x10/0x10 [ 1022.725066][ T2556] ret_from_fork+0x2d/0x50 [ 1022.725409][ T2556] ? __pfx_kthread+0x10/0x10 [ 1022.725799][ T2556] ret_from_fork_asm+0x1b/0x30 [ 1022.726201][ T2556] </TASK> To fix we add an skb_get() before passing the skb to be enqueued in the engress queue. This bumps the skb->users refcnt so that consume_skb() and kfree_skb will not immediately free the sk_buff. With this we can be sure the skb is still around when we do the dequeue. Then we just need to decrement the refcnt or free the skb in the backlog case which we do by calling kfree_skb() on the ingress case as well as the sendmsg case. Before locking change from fixes tag we had the sock locked so we couldn't race with user and there was no issue here.
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 free side of the race is a local `recvmsg()` on a sockmap-enrolled socket, and setting up/driving the redirect requires local syscall access (bpf(), socket, recvmsg); a purely remote peer cannot control the consuming thread's timing. AC:L - The attacker controls both sides of the race — a reader thread blocked in recvmsg() is woken by `sk_psock_data_ready()` inside the window before `skb_dequeue()`, while the attacker also generates the redirected traffic; upstream reproduced it with the ordinary `test_progs -t sockmap_listen` selftest. PR:L - On the systems where sockmap redirect is deployed (Cilium/service-mesh nodes, containers with CAP_BPF/CAP_NET_ADMIN), the map and verdict program are already installed by the platform and any unprivileged local process whose socket is enrolled triggers the UAF with plain recvmsg() plus peer traffic. UI:N - No victim action is needed; the attacker creates both sockets, generates the traffic, and runs the racing recvmsg() loop itself. S:U - The use-after-free corrupts kernel heap state within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The freed sk_buff is dereferenced after being reallocated, so attacker-groomed heap contents are read as `skb->next`/`skb->prev` and the resulting corruption can be leveraged into arbitrary kernel memory disclosure. I:H - `__skb_unlink()` performs two attacker-influenced pointer writes (`next->prev = prev`, `prev->next = next`) using values read from the freed/reallocated skb, giving a classic unlink write primitive usable for control-flow hijack and privilege escalation. A:H - The unfixed race reliably produces a general protection fault in `skb_dequeue()` from the `sk_psock_backlog` workqueue, panicking or destabilizing the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < 65ad600b9bde68d2d28709943ab00b51ca8f0a1d (affected · git)799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < 923877254f002ae87d441382bb1096d9e773d56d (affected · git)799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < e6b5e47adb9166e732cdf7e6e034946e3f89f36d (affected · git)799aa7f98d53e0f541fa6b4dc9aa47b4ff2178e3 to < a454d84ee20baf7bd7be90721b9821f73c7d23d9 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.13 (affected)0 to < 5.13 (unaffected · semver)5.15.189 through 5.15.* (unaffected · semver)6.1.54 through 6.1.* (unaffected · semver)6.5.4 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
2Linux · cna
bpf, sockmap: Fix skb refcnt race after locking changes
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 88703b492b90749d8118421ce99c56502e1c7a44c133f761a177e3425242c90a
- Ingested
- 15 Oct 2026, 23:26:24 UTC
- Source record
- Official CVE record