CVE-2025-38475
published high CVSS 3.1 · 7.8smc: Fix various oops due to inet_sock type confusion.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd25a92ccae6bed02327b63d138e12e7806830f78 to < 5b02e397929e5b13b969ef1f8e43c7951e2864f5 · d25a92ccae6bed02327b63d138e12e7806830f78 to < 67a167a6b8b45607bc34aa541d1c75097d18d460 · d25a92ccae6bed02327b63d138e12e7806830f78 to < 60ada4fe644edaa6c2da97364184b0425e8aeaf5 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.40 through 6.12.* (unaffected · semver) · 6.15.8 through 6.15.* (unaffected · semver) · 6.16 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 | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1145 | Fixed | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.41-1 | DSA-5975-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kbaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azureaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azurex86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-baseppc64le | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-basex86_64 | Advisory build | 6.4.0-150700.53.11.1.150700.17.9.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-devels390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-develx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-develnoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-docsnoarch | Advisory build | 6.4.0-150700.53.11.3 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaultppc64le | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaults390x | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_53_11-defaultx86_64 | Advisory build | 1-150700.15.3.4 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-livepatch-6_4_0-150700_7_13-rtx86_64 | Advisory build | 1-150700.1.5.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-macrosnoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-builds390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-sourcenoarch | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-azurenoarch | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-source-rtnoarch | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symss390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-symsx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150700.20.11.1 | SUSE-SU-2025:03011-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150700.7.13.1 | SUSE-SU-2025:02853-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-15-SP7 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150700.53.11.1 | SUSE-SU-2025:02997-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:20994-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21139-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.6.1 | SUSE-SU-2025:21179-1 |
| SUSE / openSUSE | SLE-16 | kernelaarch64 | Advisory build | 64kb-6.12.0-160000.6.1 | SUSE-SU-2025:20994-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: smc: Fix various oops due to inet_sock type confusion. syzbot reported weird splats [0][1] in cipso_v4_sock_setattr() while freeing inet_sk(sk)->inet_opt. The address was freed multiple times even though it was read-only memory. cipso_v4_sock_setattr() did nothing wrong, and the root cause was type confusion. The cited commit made it possible to create smc_sock as an INET socket. The issue is that struct smc_sock does not have struct inet_sock as the first member but hijacks AF_INET and AF_INET6 sk_family, which confuses various places. In this case, inet_sock.inet_opt was actually smc_sock.clcsk_data_ready(), which is an address of a function in the text segment. $ pahole -C inet_sock vmlinux struct inet_sock { ... struct ip_options_rcu * inet_opt; /* 784 8 */ $ pahole -C smc_sock vmlinux struct smc_sock { ... void (*clcsk_data_ready)(struct sock *); /* 784 8 */ The same issue for another field was reported before. [2][3] At that time, an ugly hack was suggested [4], but it makes both INET and SMC code error-prone and hard to change. Also, yet another variant was fixed by a hacky commit 98d4435efcbf3 ("net/smc: prevent NULL pointer dereference in txopt_get"). Instead of papering over the root cause by such hacks, we should not allow non-INET socket to reuse the INET infra. Let's add inet_sock as the first member of smc_sock. [0]: kvfree_call_rcu(): Double-freed call. rcu_head 000000006921da73 WARNING: CPU: 0 PID: 6718 at mm/slab_common.c:1956 kvfree_call_rcu+0x94/0x3f0 mm/slab_common.c:1955 Modules linked in: CPU: 0 UID: 0 PID: 6718 Comm: syz.0.17 Tainted: G W 6.16.0-rc4-syzkaller-g7482bb149b9f #0 PREEMPT Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : kvfree_call_rcu+0x94/0x3f0 mm/slab_common.c:1955 lr : kvfree_call_rcu+0x94/0x3f0 mm/slab_common.c:1955 sp : ffff8000a03a7730 x29: ffff8000a03a7730 x28: 00000000fffffff5 x27: 1fffe000184823d3 x26: dfff800000000000 x25: ffff0000c2411e9e x24: ffff0000dd88da00 x23: ffff8000891ac9a0 x22: 00000000ffffffea x21: ffff8000891ac9a0 x20: ffff8000891ac9a0 x19: ffff80008afc2480 x18: 00000000ffffffff x17: 0000000000000000 x16: ffff80008ae642c8 x15: ffff700011ede14c x14: 1ffff00011ede14c x13: 0000000000000004 x12: ffffffffffffffff x11: ffff700011ede14c x10: 0000000000ff0100 x9 : 5fa3c1ffaf0ff000 x8 : 5fa3c1ffaf0ff000 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff8000a03a7078 x4 : ffff80008f766c20 x3 : ffff80008054d360 x2 : 0000000000000000 x1 : 0000000000000201 x0 : 0000000000000000 Call trace: kvfree_call_rcu+0x94/0x3f0 mm/slab_common.c:1955 (P) cipso_v4_sock_setattr+0x2f0/0x3f4 net/ipv4/cipso_ipv4.c:1914 netlbl_sock_setattr+0x240/0x334 net/netlabel/netlabel_kapi.c:1000 smack_netlbl_add+0xa8/0x158 security/smack/smack_lsm.c:2581 smack_inode_setsecurity+0x378/0x430 security/smack/smack_lsm.c:2912 security_inode_setsecurity+0x118/0x3c0 security/security.c:2706 __vfs_setxattr_noperm+0x174/0x5c4 fs/xattr.c:251 __vfs_setxattr_locked+0x1ec/0x218 fs/xattr.c:295 vfs_setxattr+0x158/0x2ac fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] file_setxattr+0x1b8/0x294 fs/xattr.c:646 path_setxattrat+0x2ac/0x320 fs/xattr.c:711 __do_sys_fsetxattr fs/xattr.c:761 [inline] __se_sys_fsetxattr fs/xattr.c:758 [inline] __arm64_sys_fsetxattr+0xc0/0xdc fs/xattr.c:758 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x58/0x180 arch/arm64/kernel/entry-common.c:879 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 [ ---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 type confusion is created and triggered locally via the `socket(AF_INET, SOCK_STREAM, IPPROTO_SMC)` / `fsetxattr` / `listen` syscall sequence; although the hijacked `clcsk_data_ready` pointer is finally dereferenced when a remote peer connects, an attacker with local socket access is required to establish the corruption. AC:L - Deterministic and race-free — a single unprivileged `socket()` call on a NetLabel/CIPSO-labeling system (Smack labels every PF_INET socket at creation by default) immediately overwrites the aliased field, and the syzbot reproducers are reliable and were confirmed by the Tested-by tag. PR:L - No capability check exists anywhere on the SMC INET create path, and `MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_INET, 256, 1)` lets any unprivileged user autoload the module; the LSM netlabel hook then runs on the attacker's own socket with no privileges needed. UI:N - The attacker performs the entire sequence — socket creation, optional xattr set, listen — with no action from any other user or administrator. S:U - The corruption is confined to kernel memory managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - Type confusion between `inet_sock` and `smc_sock` makes the kernel read through and dereference a field it misinterprets (`old->opt.optlen` read from a `.text` address), and the resulting function-pointer control gives an attacker the leverage to build arbitrary kernel-memory read primitives. I:H - `rcu_assign_pointer(sk_inet->inet_opt, opt)` plants an attacker-influenced heap pointer into the `clcsk_data_ready` function-pointer slot that `smc_clcsock_data_ready()` later calls indirectly, and `kfree_rcu()` is invoked on a read-only `.text` address — a type-confusion write and control-flow hijack primitive. A:H - syzbot captured a `WARNING` in `kvfree_call_rcu()` (double free) and a fatal "Unable to handle kernel write to read-only memory" Oops, both of which panic or kill the kernel and are trivially repeatable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d25a92ccae6bed02327b63d138e12e7806830f78 to < 5b02e397929e5b13b969ef1f8e43c7951e2864f5 (affected · git)d25a92ccae6bed02327b63d138e12e7806830f78 to < 67a167a6b8b45607bc34aa541d1c75097d18d460 (affected · git)d25a92ccae6bed02327b63d138e12e7806830f78 to < 60ada4fe644edaa6c2da97364184b0425e8aeaf5 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.40 through 6.12.* (unaffected · semver)6.15.8 through 6.15.* (unaffected · semver)6.16 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
smc: Fix various oops due to inet_sock type confusion.
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49d355ad04c131ccb740c5e6521ded0c0c17e3bb38e787d2143a2f004517c4f9
- Ingested
- 23 Sep 2026, 08:46:47 UTC
- Source record
- Official CVE record