Unchecked Return Value Affecting linux-qemu-melange package, versions <6.18.57-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LINUXQEMUMELANGE-21249650
  • published20 Oct 2026
  • disclosed19 Jul 2026

Introduced: 19 Jul 2026

CVE-2026-64040  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade Chainguard linux-qemu-melange to version 6.18.57-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-qemu-melange package and not the linux-qemu-melange package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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

cachefiles: Fix error return when vfs_mkdir() fails

When vfs_mkdir() fails, the error code is not extracted from the returned error pointer. This causes mkdir_error to be reached with ret=0, which leads to returning ERR_PTR(0) (NULL) instead of a proper error pointer.

Fix this by extracting the error code from the error pointer when vfs_mkdir() fails.

CVSS Base Scores

version 3.1