CVE-2024-42292

kobject_uevent: Fix OOB access within zap_modalias_env()

HIGH
7.1
CVSS Score
Published: August 17, 2024 at 09:09 AM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: kobject_uevent: Fix OOB access within zap_modalias_env() zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15.1 ≤ v < 4.19.3204.20 ≤ v < 5.4.2825.11 ≤ v < 5.15.1655.16 ≤ v < 6.1.1035.5 ≤ v < 5.10.2246.2 ≤ v < 6.6.446.7 ≤ v < 6.10.34.154.15 rc64.15 rc74.15 rc84.15 rc99b3fa47d4a76b1d606a396455f9bbeee083ef008
Vendor states this is fixed in 57fe01d3d04276875c7e3a6dc763517fc05b8762 (fixed)
Vendor states this is fixed in 648d5490460d38436640da0812bf7f6351c150d2 (fixed)
Vendor states this is fixed in 68d63ace80b76395e7935687ecdb86421adc2168 (fixed)
Vendor states this is fixed in 81a15d28f32af01493ae8c5457e0d55314a4167d (fixed)
Vendor states this is fixed in b59a5e86a3934f1b6a5bd1368902dbc79bdecc90 (fixed)
Vendor states this is fixed in c5ee8adc8d98a49703320d13878ba2b923b142f5 (fixed)
Vendor states this is fixed in d4663536754defff75ff1eca0aaebc41da165a8d (fixed)
Vendor states this is fixed in dd6e9894b451e7c85cceb8e9dc5432679a70e7dc (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 4.19.320 (unaffected)
Vendor states this is fixed in 5.10.224 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 5.4.282 (unaffected)
Vendor states this is fixed in 6.1.103 (unaffected)
Vendor states this is fixed in 6.10.3 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.44 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/57fe01d3d04276875c7e3a6dc763517fc05b8762
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/648d5490460d38436640da0812bf7f6351c150d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68d63ace80b76395e7935687ecdb86421adc2168
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/81a15d28f32af01493ae8c5457e0d55314a4167d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b59a5e86a3934f1b6a5bd1368902dbc79bdecc90
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c5ee8adc8d98a49703320d13878ba2b923b142f5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d4663536754defff75ff1eca0aaebc41da165a8d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dd6e9894b451e7c85cceb8e9dc5432679a70e7dc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card