Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2025-40312

Опубликовано: 08 дек. 2025
Источник: redhat
CVSS3: 4.5
EPSS Низкий

Описание

In the Linux kernel, the following vulnerability has been resolved: jfs: Verify inode mode when loading from disk The inode mode loaded from corrupted disk can be invalid. Do like what commit 0a9e74051313 ("isofs: Verify inode mode when loading from disk") does.

A flaw was found in the Linux kernel’s Journaled File System (JFS) handling code. When inode metadata is read from disk, the inode mode field was not properly validated. If the filesystem is corrupted and presents an invalid mode value, the kernel may accept and act on that invalid mode, potentially leading to unexpected behavior in file operations, memory corruption, or denial of service. This issue could be triggered by a local attacker with access to a crafted or corrupted JFS filesystem.

Меры по смягчению последствий

To mitigate this issue on Red Hat Enterprise Linux 6 ELS, prevent the JFS filesystem module from loading if it is not required. This can be achieved by blacklisting the jfs module. To blacklist the jfs module:

  1. Create a file named /etc/modprobe.d/blacklist-jfs.conf with the following content: blacklist jfs
  2. Regenerate the initramfs: dracut -f -v (for systems using dracut) mkinitrd -f -v /boot/initramfs-$(uname -r).img $(uname -r) (for systems using mkinitrd)
  3. Reboot the system for the changes to take effect. Note: Blacklisting the jfs module will prevent the system from mounting JFS filesystems. Ensure that no critical system operations rely on JFS before applying this mitigation.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelNot affected
Red Hat Enterprise Linux 9kernel-rtNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-1287
https://bugzilla.redhat.com/show_bug.cgi?id=2419881kernel: Linux kernel (JFS): Data corruption, information disclosure, and system unavailability via invalid inode mode.

EPSS

Процентиль: 11%
0.00036
Низкий

4.5 Medium

CVSS3

Связанные уязвимости

ubuntu
4 месяца назад

In the Linux kernel, the following vulnerability has been resolved: jfs: Verify inode mode when loading from disk The inode mode loaded from corrupted disk can be invalid. Do like what commit 0a9e74051313 ("isofs: Verify inode mode when loading from disk") does.

nvd
4 месяца назад

In the Linux kernel, the following vulnerability has been resolved: jfs: Verify inode mode when loading from disk The inode mode loaded from corrupted disk can be invalid. Do like what commit 0a9e74051313 ("isofs: Verify inode mode when loading from disk") does.

msrc
4 месяца назад

jfs: Verify inode mode when loading from disk

debian
4 месяца назад

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

github
4 месяца назад

In the Linux kernel, the following vulnerability has been resolved: jfs: Verify inode mode when loading from disk The inode mode loaded from corrupted disk can be invalid. Do like what commit 0a9e74051313 ("isofs: Verify inode mode when loading from disk") does.

EPSS

Процентиль: 11%
0.00036
Низкий

4.5 Medium

CVSS3