CVE-2024-49859 f2fs: fix to check atomic_file in f2fs ioctl interfaces

High 7.8 Published Updated

A race condition in Linux kernel f2fs ioctl interfaces allows potential data corruption or undefined behavior due to missing atomic write checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-49859?

CVE-2024-49859 is a high-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

f2fs: fix to check atomic_file in f2fs ioctl interfaces

Some f2fs ioctl interfaces like f2fs_ioc_set_pin_file(), f2fs_move_file_range(), and f2fs_defragment_range() missed to check atomic_write status, which may cause potential race issue, fix it.

Weakness: CWE-362

Which versions are affected by CVE-2024-49859?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-49859?

Apply the vendor's patch.

Is CVE-2024-49859 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-50655, AZL-50697, BELL-CVE-2024-49859, DEBIAN-CVE-2024-49859, GHSA-p5f2-p286-m43f, ROOT-OS-DEBIAN-11-CVE-2024-49859 and 2 more.

Is CVE-2024-49859 in your software?

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

Check your SBOMs for free