In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to wait on block writeback for post_read case
If inode is compressed, but not encrypted, it missed to call f2fswaitonblockwriteback() to wait for GCed page writeback in IPU write path.
Thread A GC-Thread - f2fsgc - dogarbagecollect - gcdatasegment - movedatablock - f2fssubmitpagewrite migrate normal cluster's block via metainode's page cache - f2fswritesingledatapage - f2fsdowritedatapage - f2fsinplacewritedata - f2fssubmitpage_bio
IRQ - f2fsreadendio IRQ old data overrides new data due to out-of-order GC and common IO. - f2fsreadendio
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52682.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52682.json"
[
{
"id": "CVE-2023-52682-1d37204a",
"target": {
"function": "f2fs_encrypt_one_page",
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9bfd5ea71521d0e522ba581c6ccc5db93759c0c3",
"digest": {
"function_hash": "240864428981417301109446750044509322324",
"length": 876.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52682-3a6f8415",
"target": {
"function": "f2fs_encrypt_one_page",
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4535be48780431753505e74e1b1ad4836a189bc2",
"digest": {
"function_hash": "240864428981417301109446750044509322324",
"length": 876.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52682-afa44d4e",
"target": {
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9bfd5ea71521d0e522ba581c6ccc5db93759c0c3",
"digest": {
"threshold": 0.9,
"line_hashes": [
"34515299831737971267899927094946448542",
"1229735360403177898771775358945814485",
"103887737931445333146290951557661071515",
"223227607597119489547342582656212828404",
"208532829863820568016683363887557314839",
"57310394304310639763777948537487878913",
"23206203745693658324527641737851904630"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52682-c1e1578b",
"target": {
"function": "f2fs_do_write_data_page",
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4535be48780431753505e74e1b1ad4836a189bc2",
"digest": {
"function_hash": "102883725324881460654391347601118145452",
"length": 2413.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52682-edb1e483",
"target": {
"function": "f2fs_do_write_data_page",
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9bfd5ea71521d0e522ba581c6ccc5db93759c0c3",
"digest": {
"function_hash": "12682638313869478393151009630397213179",
"length": 2519.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52682-fb54628d",
"target": {
"file": "fs/f2fs/data.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4535be48780431753505e74e1b1ad4836a189bc2",
"digest": {
"threshold": 0.9,
"line_hashes": [
"34515299831737971267899927094946448542",
"1229735360403177898771775358945814485",
"103887737931445333146290951557661071515",
"223227607597119489547342582656212828404",
"208532829863820568016683363887557314839",
"57310394304310639763777948537487878913",
"23206203745693658324527641737851904630"
]
},
"signature_type": "Line"
}
]