CVE-2025-68368: md: init bioset in mddev_init

Published Dec 24, 2025
·
Updated

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

md: init bioset in mddevinit

IO operations may be needed before mdrun(), such as updating metadata after writing sysfs. Without bioset, this triggers a NULL pointer dereference as below:

BUG: kernel NULL pointer dereference, address: 0000000000000020 Call Trace: mdupdatesb+0x658/0xe00 newlevelstore+0xc5/0x120 mdattrstore+0xc9/0x1e0 sysfskfwrite+0x6f/0xa0 kernfsfopwriteiter+0x141/0x2a0 vfswrite+0x1fc/0x5a0 ksyswrite+0x79/0x180 x64syswrite+0x1d/0x30 x64syscall+0x2818/0x2880 dosyscall64+0xa9/0x580 entrySYSCALL64afterhwframe+0x4b/0x53

Reproducer mdadm -CR /dev/md0 -l1 -n2 /dev/sd[cd] echo inactive > /sys/block/md0/md/arraystate echo 10 > /sys/block/md0/md/newlevel

mddevinit() can only be called once per mddev, no need to test if bioset has been initialized anymore.

Affected Software

4 affected componentsFixes available
Linux Linux kernel
debian/linux<6.12.115-2
6.12.115-2
debian/linux<6.18.3-1
6.18.3-1
debian/linux<=6.12.107-1
6.1.176-16.1.190-16.12.115-27.2.12-17.2.15-1

Event History

Dec 24, 2025
CVE Published
via MITRE·10:32 AM
Data Sourced
via MITRE·10:32 AM
Description
Data Sourced
via NVD·11:16 AM
Description
Data Sourced
via OSV·11:16 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2025-68368?

CVE-2025-68368 has a high severity due to the potential for a NULL pointer dereference leading to system instability.

2

How do I fix CVE-2025-68368?

To fix CVE-2025-68368, update your Linux kernel to the latest version where this vulnerability has been patched.

3

What systems are affected by CVE-2025-68368?

CVE-2025-68368 affects multiple versions of the Linux kernel.

4

What type of vulnerability is CVE-2025-68368?

CVE-2025-68368 is a memory management vulnerability related to kernel operations.

5

Can CVE-2025-68368 be exploited remotely?

CVE-2025-68368 may be exploited locally, thus affecting system reliability rather than allowing remote attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203