Skip to content

CVE-2024-36481 tracing/probes: fix error check in parse_btf_field()

MediumCVSS 5.5 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Linux KernelUbuntuDebian

Description

In the Linux kernel, the following vulnerability has been resolved:

tracing/probes: fix error check in parse_btf_field()

btf_find_struct_member() might return NULL or an error via the
ERR_PTR() macro. However, its caller in parse_btf_field() only checks
for the NULL condition. Fix this by using IS_ERR() and returning the
error up the stack.

Upgrade path

7 packages: 7 fixed.

PackageAffectedFixed inStatus
debian/linux(Debian 13) < 6.9.7-1 6.9.7-1 Fixed
debian/linux(Debian 14) < 6.9.7-1 6.9.7-1 Fixed
Linux kernel < 6.6; < 6.6.33; < 6.9.4; < 6.10 +7 more 4ed468edfeb54c7202e559eba74c25fac6a0dad0, 6.6, 6.6.33, 6.9.4, 6.10, ad4b202da2c498fefb69e5d87f67b946e7fe1e6a, e569eb34970281438e2b48a3ef11c87459fcfbcb Fixed
Microsoft azure linux < 6.6.35.1-4 6.6.35.1-4 Fixed
Microsoft cbl mariner < 5.15.160.1-1 5.15.160.1-1 Fixed
ubuntu/linux(Ubuntu 24.04) < 6.8.0-44.44 6.8.0-44.44 Fixed
ubuntu/linux-raspi(Ubuntu 24.04) < 6.8.0-1011.12 6.8.0-1011.12 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft azure linux < 6.6.35.1-4 6.6.35.1-4
Microsoft cbl mariner < 5.15.160.1-1 5.15.160.1-1
debian/linux(Debian:13) < 6.9.7-1 6.9.7-1
debian/linux(Debian:14) < 6.9.7-1 6.9.7-1
Linux kernel >= c440adfbe30257dde905adc1fce51131145f7245, < ad4b202da2c498fefb69e5d87f67b946e7fe1e6a ad4b202da2c498fefb69e5d87f67b946e7fe1e6a
Linux kernel >= c440adfbe30257dde905adc1fce51131145f7245, < 4ed468edfeb54c7202e559eba74c25fac6a0dad0 4ed468edfeb54c7202e559eba74c25fac6a0dad0
Linux kernel >= c440adfbe30257dde905adc1fce51131145f7245, < e569eb34970281438e2b48a3ef11c87459fcfbcb e569eb34970281438e2b48a3ef11c87459fcfbcb
Linux kernel = 6.6 No fix listed
Linux kernel < 6.6.33 6.6.33
Linux kernel < 6.9.4 6.9.4
Linux kernel < 6.10 6.10
ubuntu/linux(Ubuntu:24.04) < 6.8.0-44.44 6.8.0-44.44
ubuntu/linux-raspi(Ubuntu:24.04) < 6.8.0-1011.12 6.8.0-1011.12
Linux kernel < 6.6 6.6
Linux kernel >= 6.6.1, < 6.6.33 6.6.33
Linux kernel >= 6.9, < 6.9.4 6.9.4
Linux kernel = 6.10.0-rc1 No fix listed

References