Review reviewHigh

CVE-2024-49861

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix helper writes to read-only maps Lonial found an issue that despite user- and BPF-side frozen BPF map (like in case of .rodata), it was still possible to write into it from a BPF program side through specific helpers having ARG_PTR_TO_{LONG,INT} as arguments. In check_func_arg() when the argument is as mentioned, the meta->raw_mode is never set. Later, check_helper_mem_access(), under the case of PTR_TO_MAP_VALUE as register base type, it assumes BPF_READ for the subsequent call to check_map_access_type() and given...

CVSS
7.1
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.10.21
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.1

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix helper writes to read-only maps Lonial found an issue that despite user- and BPF-side frozen BPF map (like in case of .rodata), it was still possible to write into it from a BPF program side through specific helpers having ARG_PTR_TO_{LONG,INT} as arguments. In check_func_arg() when the argument is as mentioned, the meta->raw_mode is never set. Later, check_helper_mem_access(), under the case of PTR_TO_MAP_VALUE as register base type, it assumes BPF_READ for the subsequent call to check_map_access_type() and given...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 57c3bb725a3dd97d960d7e1cd0845d88de53217f < 988e55abcf7fdb8fc9a76a7cf3f4e939a4d4fb3a, >= 57c3bb725a3dd97d960d7e1cd0845d88de53217f < a2c8dc7e21803257e762b0bf067fd13e9c995da0, >= 57c3bb725a3dd97d960d7e1cd0845d88de53217f < 2ed98ee02d1e08afee88f54baec39ea78dc8a23c, >= 57c3bb725a3dd97d960d7e1cd0845d88de53217f < 1e75d25133158b525e0456876e9bcfd6b2993fd5, >= 57c3bb725a3dd97d960d7e1cd0845d88de53217f < 32556ce93bc45c730829083cb60f95a2728ea48b, >= 5.2, >= 5.2 < 6.6.54, >= 6.7 < 6.10.13, >= 6.11 < 6.11.2
Fixed versions
6.6.54, 6.10.13, 6.11.2

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, 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:N/I:H/A:H
CWE
Not available