Linux Kernel UDF Inline File Write Length Update Vulnerability

Vulnerability

A vulnerability in the Linux kernel's UDF (Universal Disk Format) handling has been addressed. The issue arose when writing to inline files; if a write operation failed or was only partially successful, the kernel still updated the file length as if the entire write had been completed. This vulnerability affected several versions of the Linux kernel. The root cause was improper management of file length during write operations to inline files, particularly in cases of failed or partial writes. The vulnerability could potentially lead to inconsistencies in file data management, although no direct exploitation scenario was mentioned.

Impact

The vulnerability could cause data management inconsistencies in UDF inline files, potentially leading to application errors or data corruption.

Reproduction

The vulnerability can be reproduced by writing data to an inline UDF file in a way that causes the write operation to fail or be only partially completed. This can be done by, for example, attempting to write more data than the file system can handle, which would trigger the error handling process. Observing the file length after such an operation will reveal that it has been incorrectly updated, reflecting a successful write when, in fact, the operation failed.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for upgrading the Linux kernel can be found in the official Linux documentation.

Added: Sep 16, 2025, 4:55 PM
Updated: Sep 16, 2025, 4:55 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.