Review reviewHigh

CVE-2024-26864

Linux Linux, linux_kernel, linux kernel

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 s...

CVSS
7.8
EPSS
0.61%
45.7% percentile
CISA KEV
Not listed
Published
2024.04.17
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.61%
Technical severityCVSS 7.8

Vulnerability overview

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 s...

Affected product and versions

Product
Linux Linux, linux_kernel, linux kernel
Affected versions
>= 729bc77af438a6e67914c97f6f3d3af8f72c0131 < 86d9b040421bbd26425f5a3edc226f57ecdecbfe, >= 334a8348b2df26526f3298848ad6864285592caf < 856baaa100cd288d3685eedae9a129c996e7e755, >= f8c4a6b850882bc47aaa864b720c7a2ee3102f39 < 1b20e61d36f490319d3fbdedd410155232ab5190, >= 66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f < ad105cde6b261b8b05ec872fe7d1987417d7fe5a, >= 66b60b0c8c4a163b022a9f0ad6769b0fd3dc662f < 04d9d1fc428ac9f581d55118d67e0cb546701feb, >= 6.1.80 < 6.1.83, >= 6.6.19 < 6.6.23, >= 6.7.7 < 6.7.11, >= 6.8, >= 729bc77af438 < 86d9b040421b, >= 6.8 < 6.8.2
Fixed versions
6.1.83, 6.6.23, 6.7.11, 6.8.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux_kernel, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-200
CVE-2024-26864 — Linux Linux, linux_kernel, linux kernel | SECUFOCUS NOW