CVE-2024-26864
published high CVSS 3.1 · 7.8tcp: Fix refcnt handling in __inet_hash_connect().
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux729bc77af438a6e67914c97f6f3d3af8f72c0131 to < 86d9b040421bbd26425f5a3edc226f57ecdecbfe · 334a8348b2df26526f3298848ad6864285592caf to < 856baaa100cd288d3685eedae9a129c996e7e755 · f8c4a6b850882bc47aaa864b720c7a2ee3102f39 to < 1b20e61d36f490319d3fbdedd410155232ab5190 · 66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f to < ad105cde6b261b8b05ec872fe7d1987417d7fe5a · 66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f to < 04d9d1fc428ac9f581d55118d67e0cb546701feb · 6.1.80 to < 6.1.83 · 6.6.19 to < 6.6.23 · 6.7.7 to < 6.7.11 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.1.83 through 6.1.* (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel6.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| linux | — | linux_kernel6.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2024-696 | Fixed | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| linux | — | linux_kernel729bc77af438 to < 86d9b040421b · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | gfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-64kb-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azureaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azurex86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-azure-develx86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debugx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-coco_debug-develx86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseaarch64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-baseppc64le | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-basex86_64 | Advisory build | 6.4.0-150600.23.30.1.150600.12.12.6 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-devels390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-develx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-extrax86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchs390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatchx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-devels390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-default-livepatch-develx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-develnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-azurenoarch | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-coconoarch | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-devel-rtnoarch | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-docsnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_10_20-rtx86_64 | Advisory build | 1-150600.1.3.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaultppc64le | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaults390x | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-livepatch-6_4_0-150600_23_30-defaultx86_64 | Advisory build | 1-150600.13.3.5 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-macrosnoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-builds390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-obs-buildx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt-develx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debugx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-rt_debug-develx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-sourcenoarch | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-azurenoarch | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-coconoarch | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-source-rtnoarch | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symss390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-symsx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azureaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-azurex86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-syms-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | kernel-zfcpdumps390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | ocfs2-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-cocox86_64 | Advisory build | 6.4.0-15061.9.coco15sp6.1 | SUSE-SU-2024:4387-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | SLE-15-SP6 | reiserfs-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | cluster-md-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-64kbaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azureaarch64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-azurex86_64 | Advisory build | 6.4.0-150600.8.20.1 | SUSE-SU-2024:4316-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultaarch64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultppc64le | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaults390x | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-defaultx86_64 | Advisory build | 6.4.0-150600.23.30.1 | SUSE-SU-2024:4318-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | dlm-kmp-rtx86_64 | Advisory build | 6.4.0-150600.10.20.1 | SUSE-SU-2024:4314-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: tcp: Fix refcnt handling in __inet_hash_connect(). syzbot reported a warning in sk_nulls_del_node_init_rcu(). The commit 66b60b0c8c4a ("dccp/tcp: Unhash sk from ehash for tb2 alloc failure after check_estalblished().") tried to fix an issue that an unconnected socket occupies an ehash entry when bhash2 allocation fails. In such a case, we need to revert changes done by check_established(), which does not hold refcnt when inserting socket into ehash. So, to revert the change, we need to __sk_nulls_add_node_rcu() instead of sk_nulls_add_node_rcu(). Otherwise, sock_put() will cause refcnt underflow and leak the socket. [0]: WARNING: CPU: 0 PID: 23948 at include/net/sock.h:799 sk_nulls_del_node_init_rcu+0x166/0x1a0 include/net/sock.h:799 Modules linked in: CPU: 0 PID: 23948 Comm: syz-executor.2 Not tainted 6.8.0-rc6-syzkaller-00159-gc055fc00c07b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 RIP: 0010:sk_nulls_del_node_init_rcu+0x166/0x1a0 include/net/sock.h:799 Code: e8 7f 71 c6 f7 83 fb 02 7c 25 e8 35 6d c6 f7 4d 85 f6 0f 95 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 1b 6d c6 f7 90 <0f> 0b 90 eb b2 e8 10 6d c6 f7 4c 89 e7 be 04 00 00 00 e8 63 e7 d2 RSP: 0018:ffffc900032d7848 EFLAGS: 00010246 RAX: ffffffff89cd0035 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc90004de1000 RSI: 000000000003ffff RDI: 0000000000040000 RBP: 1ffff1100439ac26 R08: ffffffff89ccffe3 R09: 1ffff1100439ac28 R10: dffffc0000000000 R11: ffffed100439ac29 R12: ffff888021cd6140 R13: dffffc0000000000 R14: ffff88802a9bf5c0 R15: ffff888021cd6130 FS: 00007f3b823f16c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3b823f0ff8 CR3: 000000004674a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> __inet_hash_connect+0x140f/0x20b0 net/ipv4/inet_hashtables.c:1139 dccp_v6_connect+0xcb9/0x1480 net/dccp/ipv6.c:956 __inet_stream_connect+0x262/0xf30 net/ipv4/af_inet.c:678 inet_stream_connect+0x65/0xa0 net/ipv4/af_inet.c:749 __sys_connect_file net/socket.c:2048 [inline] __sys_connect+0x2df/0x310 net/socket.c:2065 __do_sys_connect net/socket.c:2075 [inline] __se_sys_connect net/socket.c:2072 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2072 do_syscall_64+0xf9/0x240 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f3b8167dda9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f3b823f10c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f3b817abf80 RCX: 00007f3b8167dda9 RDX: 000000000000001c RSI: 0000000020000040 RDI: 0000000000000003 RBP: 00007f3b823f1120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f3b817abf80 R15: 00007ffd3beb57b8 </TASK>
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 through the local `connect(2)` syscall path (`__sys_connect` → `inet_stream_connect` → `tcp_v4/v6_connect`/`dccp_v4/v6_connect` → `__inet_hash_connect`), requiring a local socket the attacker owns. A remote peer cannot initiate this path directly, though MPTCP subflow creation triggered by a peer's ADD_ADDR reaches it indirectly. AC:L - The attacker controls both preconditions: the unprivileged `IP_LOCAL_PORT_RANGE` sockopt pins the ephemeral range so the `check_established()` branch is taken deterministically, and the GFP_ATOMIC bhash2 allocation failure is driven by attacker-created memory/slab pressure while `connect()` is retried in an unbounded loop. Nothing depends on a third party or on state the attacker cannot influence. PR:L - Any unprivileged local user can create a TCP/DCCP socket, set `IP_LOCAL_PORT_RANGE`, and call `connect()`; no capability check exists anywhere along the path, and additional local addresses to force a new bhash2 bucket are obtainable inside an unprivileged user namespace (`unshare -Urn`). UI:N - The attacking process performs the entire sequence itself via socket syscalls; no victim action, mount, or file open is required. S:U - The refcount underflow corrupts kernel socket state within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed. C:H - The unbalanced `__sock_put()` is a refcount-underflow primitive that, where a second reference holder exists (e.g. MPTCP subflows that `sock_hold()` before `kernel_connect()`), frees the `tcp_sock`/subflow while it is still linked in `msk->conn_list`, giving a use-after-free that can be groomed to read reallocated slab contents and kernel pointers. I:H - The same premature free yields a use-after-free on a large, attacker-influenceable `tcp_sock` object containing function pointers (`sk_prot`, `sk_data_ready`, `icsk_af_ops`), which heap spraying can convert into an arbitrary write and control-flow hijack. A:H - The path triggers a `WARN_ON` in `sk_nulls_del_node_init_rcu()` plus a `refcount_dec()` underflow warning — an immediate panic on kernels with `panic_on_warn` — and otherwise permanently leaks the socket along with its pinned network-namespace reference, repeatable by an unprivileged user until memory is exhausted.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.9 | medium | CISA-ADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 729bc77af438a6e67914c97f6f3d3af8f72c0131 to < 86d9b040421bbd26425f5a3edc226f57ecdecbfe (affected · git)334a8348b2df26526f3298848ad6864285592caf to < 856baaa100cd288d3685eedae9a129c996e7e755 (affected · git)f8c4a6b850882bc47aaa864b720c7a2ee3102f39 to < 1b20e61d36f490319d3fbdedd410155232ab5190 (affected · git)66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f to < ad105cde6b261b8b05ec872fe7d1987417d7fe5a (affected · git)66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f to < 04d9d1fc428ac9f581d55118d67e0cb546701feb (affected · git)6.1.80 to < 6.1.83 (affected · semver)6.6.19 to < 6.6.23 (affected · semver)6.7.7 to < 6.7.11 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.1.83 through 6.1.* (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 6.8 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 6.8 (affected)Default: unknown | CISA-ADP · adp |
| linux | linux_kernel | 729bc77af438 to < 86d9b040421b (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-200 CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
5- https://git.kernel.org/stable/c/04d9d1fc428ac9f581d55118d67e0cb546701feb
- https://git.kernel.org/stable/c/1b20e61d36f490319d3fbdedd410155232ab5190
- https://git.kernel.org/stable/c/856baaa100cd288d3685eedae9a129c996e7e755
- https://git.kernel.org/stable/c/86d9b040421bbd26425f5a3edc226f57ecdecbfe
- https://git.kernel.org/stable/c/ad105cde6b261b8b05ec872fe7d1987417d7fe5a
Provider assertions
3Linux · cna
tcp: Fix refcnt handling in __inet_hash_connect().
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9111bde94289ef799d42c71fa7d1563c6d83aec19d6d2ce57662a05c44bc811c
- Ingested
- 23 Sep 2026, 08:20:34 UTC
- Source record
- Official CVE record