Review reviewHigh

CVE-2024-35896

Linux Linux, SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, linux kernel

In the Linux kernel, the following vulnerability has been resolved: netfilter: validate user input for expected length I got multiple syzbot reports showing old bugs exposed by BPF after commit 20f2505fb436 ("bpf: Try to avoid kzalloc in cgroup/{s,g}etsockopt") setsockopt() @optlen argument should be taken into account before copying data. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in do_replace net/ipv4/netfilter/ip_table...

CVSS
7.1
EPSS
0.23%
13.4% percentile
CISA KEV
Not listed
Published
2024.05.19
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.1

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: netfilter: validate user input for expected length I got multiple syzbot reports showing old bugs exposed by BPF after commit 20f2505fb436 ("bpf: Try to avoid kzalloc in cgroup/{s,g}etsockopt") setsockopt() @optlen argument should be taken into account before copying data. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in do_replace net/ipv4/netfilter/ip_table...

Affected product and versions

Product
Linux Linux, SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, linux kernel
Affected versions
>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0f038242b77ddfc505bf4163d4904c1abd2e74d6, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 440e948cf0eff32cfe322dcbca3f2525354b159b, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 18aae2cb87e5faa9c5bd865260ceadac60d5a6c5, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 81d51b9b7c95e791ba3c1a2dd77920a9d3b3f525, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 58f2bfb789e6bd3bc24a2c9c1580f3c67aec3018, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0c83842df40f86e529db6842231154772c20edcc, >= 2.6.12, >= 2.6.12 < 5.10.215, >= 5.11 < 5.15.154, >= 5.16 < 6.1.85, >= 6.2 < 6.6.26, >= 6.7 < 6.8.5, 6.9, 10.0
Fixed versions
5.10.215, 5.15.154, 6.1.85, 6.6.26, 6.8.5

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, 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:N/A:H
CWE
CWE-125
CVE-2024-35896 — Linux Linux, SIMATIC S7-1500 TM MFP - GNU/Linux subsystem, linux kernel | SECUFOCUS NOW