CVE-2024-42158
JSON

4.1medium

s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings

Severity
4.1medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 12% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings Replace memzero_explicit() and kfree() with kfree_sensitive() to fix warnings reported by Coccinelle: WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)

Affected

Product or packageVersionsReported by
Linux Linuxfrom e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before f2e43af834fcc652b324384f14b561cf610742d4, from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 62151a0acde90823bdfa991d598c85cf4b1d387d, from e80d4af0a320972aac58e2004d0ba4e44ef4c5c7 before 22e6824622e8a8889df0f8fc4ed5aea0e702a694, 4.11
Not affected: before 4.11, from 6.1.191 up to 6.1.*, from 6.9.9 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 4.11 before 6.9.9NVD

Classification

CWE-669

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: s390/pkey: Use kfree_sensitive() to fix Coccinelle warnings Replace memzero_explicit() and kfree() with kfree_sensitive() to fix warnings reported by Coccinelle: WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1506) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1643) WARNING opportunity for kfree_sensitive/kvfree_sensitive (line 1770)

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: s390/pkey: use kfree_SENSITIVE() para corregir las advertencias de Coccinelle. Reemplace memzero_explicit() y kfree() con kfree_SENSITIVE() para corregir las advertencias reportadas por Coccinelle: Oportunidad de ADVERTENCIA para kfree_SENSITIVE/KVFree_SENSITIVE ( línea 1506) Oportunidad de ADVERTENCIA para kfree_SENSITIVE/KVFree_SENSITIVE (línea 1643) Oportunidad de ADVERTENCIA para kfree_SENSITIVE/KVFree_SENSITIVE (línea 1770)

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42158 changed 2026-10-30CVE Terms of Use
NVDCVE-2024-42158 changed 2026-10-30Public domain