Name | CVE-2024-40971 |
Description | In the Linux kernel, the following vulnerability has been resolved: f2fs: remove clear SB_INLINECRYPT flag in default_options In f2fs_remount, SB_INLINECRYPT flag will be clear and re-set. If create new file or open file during this gap, these files will not use inlinecrypt. Worse case, it may lead to data corruption if wrappedkey_v0 is enable. Thread A: Thread B: -f2fs_remount -f2fs_file_open or f2fs_new_inode -default_options <- clear SB_INLINECRYPT flag -fscrypt_select_encryption_impl -parse_options <- set SB_INLINECRYPT again |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4008-1, DSA-5730-1, DSA-5731-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | vulnerable | |
stretch (lts), stretch | 4.9.320-3 | vulnerable | |
buster (security), buster, buster (lts) | 4.19.316-1 | vulnerable | |
bullseye | 5.10.223-1 | fixed | |
bullseye (security) | 5.10.226-1 | fixed | |
bookworm | 6.1.123-1 | fixed | |
bookworm (security) | 6.1.119-1 | fixed | |
trixie | 6.12.6-1 | fixed | |
sid | 6.12.9-1 | fixed | |
linux-6.1 (PTS) | bullseye (security) | 6.1.119-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | stretch | (unfixed) | end-of-life | ||
linux | source | buster | (unfixed) | end-of-life | ||
linux | source | bullseye | 5.10.221-1 | DSA-5730-1 | ||
linux | source | bookworm | 6.1.99-1 | DSA-5731-1 | ||
linux | source | (unstable) | 6.9.7-1 | |||
linux-6.1 | source | bullseye | 6.1.119-1~deb11u1 | DLA-4008-1 |
https://git.kernel.org/linus/ac5eecf481c29942eb9a862e758c0c8b68090c33 (6.10-rc1)