CVE-2024-38617

kunit/fortify: Fix mismatched kvalloc()/vfree() usage

MEDIUM
5.5
CVSS Score
Published: June 19, 2024 at 01:56 PM UTC
Updated: June 17, 2026 at 07:40 AM UTC
1 product affected across 1 vendorLinux Kernel

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
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: kunit/fortify: Fix mismatched kvalloc()/vfree() usage The kv*() family of tests were accidentally freeing with vfree() instead of kvfree(). Use kvfree() instead.

Affected

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

6.2 ≤ v < 6.106.2 ≤ v < 6.6.336.2 ≤ v < 6.8.126.2 ≤ v < 6.9.36.7 ≤ v < 6.8.126.9 ≤ v < 6.9.36.29124a26401483bf2b13a99cb4317dce3f677060f
Vendor states this is fixed in 03758d5a0932016b6d5f5bfbca580177e6bc937a (fixed)
Vendor states this is fixed in 42d21c9727028fe7ee392223ba127484b1b8677e (fixed)
Vendor states this is fixed in 7880dbf4eafe22a6a41a42e774f1122c814ed02d (fixed)
Vendor states this is fixed in 998b18072ceb0613629c256b409f4d299829c7ec (fixed)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.8.12 (unaffected)
Vendor states this is fixed in 6.9.3 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/03758d5a0932016b6d5f5bfbca580177e6bc937a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/42d21c9727028fe7ee392223ba127484b1b8677e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7880dbf4eafe22a6a41a42e774f1122c814ed02d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/998b18072ceb0613629c256b409f4d299829c7ec

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
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-763

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