HomeDefectsLIN1025-6132
Fixed

LIN1025-6132 : Security Advisory - linux - CVE-2025-40233

Created: Dec 7, 2025    Updated: Mar 3, 2026
Resolved Date: Jan 4, 2026
Found In Version: 10.25.33.1
Fix Version: 10.25.33.4
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]ocfs2: clear extent cache after moving/defragmenting extents[EOL][EOL]The extent map cache can become stale when extents are moved or[EOL]defragmented, causing subsequent operations to see outdated extent flags. [EOL]This triggers a BUG_ON in ocfs2_refcount_cal_cow_clusters().[EOL][EOL]The problem occurs when:[EOL]1. copy_file_range() creates a reflinked extent with OCFS2_EXT_REFCOUNTED[EOL]2. ioctl(FITRIM) triggers ocfs2_move_extents()[EOL]3. __ocfs2_move_extents_range() reads and caches the extent (flags=0x2)[EOL]4. ocfs2_move_extent()/ocfs2_defrag_extent() calls __ocfs2_move_extent()[EOL]   which clears OCFS2_EXT_REFCOUNTED flag on disk (flags=0x0)[EOL]5. The extent map cache is not invalidated after the move[EOL]6. Later write() operations read stale cached flags (0x2) but disk has[EOL]   updated flags (0x0), causing a mismatch[EOL]7. BUG_ON(!(rec->e_flags & OCFS2_EXT_REFCOUNTED)) triggers[EOL][EOL]Fix by clearing the extent map cache after each extent move/defrag[EOL]operation in __ocfs2_move_extents_range().  This ensures subsequent[EOL]operations read fresh extent data from disk.

CVEs