---
id: CVE-2024-42292
title: |-
  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 v…
summary: |-
  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 v…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-125
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.15.1, < 4.19.320'
  - 'linux_kernel >= 4.20, < 5.4.282'
  - 'linux_kernel >= 5.5, < 5.10.224'
  - 'linux_kernel >= 5.11, < 5.15.165'
  - 'linux_kernel >= 5.16, < 6.1.103'
  - 'linux_kernel >= 6.2, < 6.6.44'
  - 'linux_kernel >= 6.7, < 6.10.3'
  - linux_kernel = 4.15
patched:
  - linux_kernel 6.10.3
published: '2024-08-17'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:18:45.733'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-42292'
references:
  - url: 'https://git.kernel.org/stable/c/57fe01d3d04276875c7e3a6dc763517fc05b8762'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/648d5490460d38436640da0812bf7f6351c150d2'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/68d63ace80b76395e7935687ecdb86421adc2168'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/81a15d28f32af01493ae8c5457e0d55314a4167d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b59a5e86a3934f1b6a5bd1368902dbc79bdecc90'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c5ee8adc8d98a49703320d13878ba2b923b142f5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d4663536754defff75ff1eca0aaebc41da165a8d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/dd6e9894b451e7c85cceb8e9dc5432679a70e7dc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00248
epssPercentile: 0.15988
ingestedAt: '2026-10-15T03:30:12.732Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-09-10T16:11:00.545656Z'
---

## Overview

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

- `linux_kernel >= 4.15.1, < 4.19.320`
- `linux_kernel >= 4.20, < 5.4.282`
- `linux_kernel >= 5.5, < 5.10.224`
- `linux_kernel >= 5.11, < 5.15.165`
- `linux_kernel >= 5.16, < 6.1.103`
- `linux_kernel >= 6.2, < 6.6.44`
- `linux_kernel >= 6.7, < 6.10.3`
- `linux_kernel = 4.15`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.10.3`
