CVE-2021-47478 isofs: Fix out of bound access for corrupted isofs image

Critical 9.1 Published Updated

A local attacker can cause an out-of-bounds read in the Linux kernel isofs module by mounting a corrupted ISO image, potentially leading to system crash or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-47478?

CVE-2021-47478 is a critical memory corruption vulnerability in Linux kernel, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

isofs: Fix out of bound access for corrupted isofs image

When isofs image is suitably corrupted isofs_read_inode() can read data beyond the end of buffer. Sanity-check the directory entry length before using it.

Weakness: CWE-125

Which versions are affected by CVE-2021-47478?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47478?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-47478 being exploited?

There is no known exploitation of CVE-2021-47478 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-47478, GHSA-rh2v-79c5-2v68, UBUNTU-CVE-2021-47478.

Is CVE-2021-47478 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free