All reports
Medium

kernel: iomap: don't free integrity payload that doesn't exist

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89770

Probability of exploitation in the next 30 days: 0.20%

FIRST EPSS · 2026-11-24

Description

In the Linux kernel, the following vulnerability has been resolved: iomap: don't free integrity payload that doesn't exist fs_bio_integrity_alloc might not allocate a bio integrity payload if PI verification is disabled on the block device. Check for that case before calling fs_bio_integrity_free in iomap_bio_read_folio_range_sync to avoid a NULL pointer dereferences. Make the branch cover the PI verification as well - while fs_bio_integrity_verify works without an integrity payload, it requires one to actually do useful work.

A flaw was found in the iomap component of the Linux kernel. This vulnerability occurs when Protection Information (PI) verification is disabled on a block device, causing fs_bio_integrity_alloc to not allocate a bio integrity payload. Subsequently, the iomap_bio_read_folio_range_sync function attempts to free this non-existent payload, leading to a NULL pointer dereference. This could potentially result in a system crash or denial of service.