Bug 2587406 (CVE-2026-139017) - CVE-2026-139017 kernel: kernel: Out-of-bounds memory access via crafted Amiga Fast File System image
Summary: CVE-2026-139017 kernel: kernel: Out-of-bounds memory access via crafted Amiga...
Keywords:
Status: NEW
Alias: CVE-2026-139017
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 15:18 UTC by OSIDB Bzimport
Modified: 2026-12-01 16:06 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 15:18:15 UTC
In the Linux kernel, the following vulnerability has been resolved:

affs: validate blocks before freeing them

affs_free_block() accepts block numbers from on-disk file block tables
when truncating or unlinking files. The function currently rejects only
block numbers greater than s_partition_size before subtracting
s_reserved and using the result to index the in-memory bitmap descriptor
array.

That check still accepts reserved blocks and the one-past-end block at
s_partition_size. A crafted image can therefore make the subtraction
underflow or make the computed bitmap index equal to s_bmap_count,
leading to an out-of-bounds access on s_bitmap before the bitmap block is
read and updated.

Use the existing AFFS block validity helper so freeing uses the same
range as block reads and writes: s_reserved <= block < s_partition_size.


Note You need to log in before you can comment on or make changes to this bug.