In the Linux kernel, the following vulnerability has been resolved:
f2fs: compress: fix to cover normal cluster write with cp_rwsem
When we overwrite compressed cluster w/ normal cluster, we should not unlock cprwsem during f2fswriterawpages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.
{ "vanir_signatures": [ { "id": "CVE-2024-27034-1cffa66e", "signature_type": "Function", "target": { "file": "fs/f2fs/data.c", "function": "f2fs_write_single_data_page" }, "signature_version": "v1", "digest": { "length": 3011.0, "function_hash": "231189489760184326833196608874329771500" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286" }, { "id": "CVE-2024-27034-24f630df", "signature_type": "Line", "target": { "file": "fs/f2fs/compress.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "190555713806840373424375441284434095018", "260493638203978900237014213974970705600", "147508447429467772669845088892321192825", "318632353295168571761847627690026239164", "286406447835226550487461821574538197383", "34099295875352958260951457041904470913", "72111022641122356915445260237784882495", "24994072762364123609304785715988857350", "43567771345881848805559778414882535558", "57973783810200336095971406764904954796", "153187851020947260222489864752164463554", "65771388446540895997176016335275459508", "99698892016966516991435707971657289039", "109665453548697820558037493599105775236", "145276230148887563877553098920371556713", "273283674557910382669582874050810607618", "35121346049842087621560567036663437370", "326313035840462795165424886948018296956", "311803408472282836250020071944169304121", "312326474927244414039616123392316828552", "75144800171849051434079949393551151500", "297394878722708146899735404977723004285", "106882597893641435138109641868615897594", "187217028405277468288033891278489392183", "327567722477966942379139093050520333532", "26267096709952010978043378118000251775", "90582527268454245015597532987527946261", "18922602907415090276972182252719031431", "192686545398291541493363052511024744450", "239272524940251227039970405280689156191", "251401018839801741533622440754197289796", "231841697409289779352323818407227600331" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416" }, { "id": "CVE-2024-27034-2b96146f", "signature_type": "Line", "target": { "file": "fs/f2fs/compress.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "190555713806840373424375441284434095018", "260493638203978900237014213974970705600", "147508447429467772669845088892321192825", "318632353295168571761847627690026239164", "286406447835226550487461821574538197383", "34099295875352958260951457041904470913", "72111022641122356915445260237784882495", "24994072762364123609304785715988857350", "43567771345881848805559778414882535558", "57973783810200336095971406764904954796", "153187851020947260222489864752164463554", "65771388446540895997176016335275459508", "99698892016966516991435707971657289039", "109665453548697820558037493599105775236", "145276230148887563877553098920371556713", "273283674557910382669582874050810607618", "35121346049842087621560567036663437370", "326313035840462795165424886948018296956", "311803408472282836250020071944169304121", "312326474927244414039616123392316828552", "75144800171849051434079949393551151500", "297394878722708146899735404977723004285", "106882597893641435138109641868615897594", "187217028405277468288033891278489392183", "327567722477966942379139093050520333532", "26267096709952010978043378118000251775", "90582527268454245015597532987527946261", "18922602907415090276972182252719031431", "192686545398291541493363052511024744450", "239272524940251227039970405280689156191", "251401018839801741533622440754197289796", "231841697409289779352323818407227600331" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b" }, { "id": "CVE-2024-27034-3c664df8", "signature_type": "Function", "target": { "file": "fs/f2fs/compress.c", "function": "f2fs_write_raw_pages" }, "signature_version": "v1", "digest": { "length": 1414.0, "function_hash": "117527757402341938126695019001519691374" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286" }, { "id": "CVE-2024-27034-449b37ee", "signature_type": "Function", "target": { "file": "fs/f2fs/data.c", "function": "f2fs_write_single_data_page" }, "signature_version": "v1", "digest": { "length": 3072.0, "function_hash": "335194145215827789000944985051176264270" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416" }, { "id": "CVE-2024-27034-49abf7f9", "signature_type": "Line", "target": { "file": "fs/f2fs/data.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "100426005138541557288227972612686157852", "158319058896494666415185479037755585262", "263637788784824302921642873438570167506", "242333401873115129885388365422495803690", "287026740089549034363773354557232673611", "289745662988208844865721901685551679925", "22452347537609714394441377930273560918", "15127667614788946975492195111277490565" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739" }, { "id": "CVE-2024-27034-4f18d9dd", "signature_type": "Function", "target": { "file": "fs/f2fs/data.c", "function": "f2fs_write_single_data_page" }, "signature_version": "v1", "digest": { "length": 3011.0, "function_hash": "231189489760184326833196608874329771500" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b" }, { "id": "CVE-2024-27034-6a1d5155", "signature_type": "Line", "target": { "file": "fs/f2fs/data.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "100426005138541557288227972612686157852", "158319058896494666415185479037755585262", "263637788784824302921642873438570167506", "242333401873115129885388365422495803690", "287026740089549034363773354557232673611", "289745662988208844865721901685551679925", "22452347537609714394441377930273560918", "15127667614788946975492195111277490565" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b" }, { "id": "CVE-2024-27034-75e9baec", "signature_type": "Line", "target": { "file": "fs/f2fs/data.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "100426005138541557288227972612686157852", "158319058896494666415185479037755585262", "263637788784824302921642873438570167506", "242333401873115129885388365422495803690", "287026740089549034363773354557232673611", "289745662988208844865721901685551679925", "22452347537609714394441377930273560918", "15127667614788946975492195111277490565" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416" }, { "id": "CVE-2024-27034-8a6efb24", "signature_type": "Line", "target": { "file": "fs/f2fs/compress.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "190555713806840373424375441284434095018", "260493638203978900237014213974970705600", "147508447429467772669845088892321192825", "318632353295168571761847627690026239164", "286406447835226550487461821574538197383", "34099295875352958260951457041904470913", "72111022641122356915445260237784882495", "24994072762364123609304785715988857350", "43567771345881848805559778414882535558", "57973783810200336095971406764904954796", "153187851020947260222489864752164463554", "65771388446540895997176016335275459508", "99698892016966516991435707971657289039", "109665453548697820558037493599105775236", "145276230148887563877553098920371556713", "273283674557910382669582874050810607618", "35121346049842087621560567036663437370", "326313035840462795165424886948018296956", "311803408472282836250020071944169304121", "312326474927244414039616123392316828552", "75144800171849051434079949393551151500", "297394878722708146899735404977723004285", "106882597893641435138109641868615897594", "187217028405277468288033891278489392183", "327567722477966942379139093050520333532", "26267096709952010978043378118000251775", "90582527268454245015597532987527946261", "18922602907415090276972182252719031431", "192686545398291541493363052511024744450", "239272524940251227039970405280689156191", "251401018839801741533622440754197289796", "231841697409289779352323818407227600331" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739" }, { "id": "CVE-2024-27034-93dd1e54", "signature_type": "Function", "target": { "file": "fs/f2fs/compress.c", "function": "f2fs_write_raw_pages" }, "signature_version": "v1", "digest": { "length": 1414.0, "function_hash": "117527757402341938126695019001519691374" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b" }, { "id": "CVE-2024-27034-c5c325e2", "signature_type": "Function", "target": { "file": "fs/f2fs/compress.c", "function": "f2fs_write_raw_pages" }, "signature_version": "v1", "digest": { "length": 1414.0, "function_hash": "117527757402341938126695019001519691374" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416" }, { "id": "CVE-2024-27034-d5ad4005", "signature_type": "Function", "target": { "file": "fs/f2fs/compress.c", "function": "f2fs_write_raw_pages" }, "signature_version": "v1", "digest": { "length": 1414.0, "function_hash": "117527757402341938126695019001519691374" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd244524c2cf07b5f4c3fe8abd6a99225c76544b" }, { "id": "CVE-2024-27034-df850c05", "signature_type": "Line", "target": { "file": "fs/f2fs/data.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "100426005138541557288227972612686157852", "158319058896494666415185479037755585262", "263637788784824302921642873438570167506", "242333401873115129885388365422495803690", "287026740089549034363773354557232673611", "289745662988208844865721901685551679925", "22452347537609714394441377930273560918", "15127667614788946975492195111277490565" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd244524c2cf07b5f4c3fe8abd6a99225c76544b" }, { "id": "CVE-2024-27034-e009f729", "signature_type": "Function", "target": { "file": "fs/f2fs/compress.c", "function": "f2fs_write_raw_pages" }, "signature_version": "v1", "digest": { "length": 1414.0, "function_hash": "117527757402341938126695019001519691374" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739" }, { "id": "CVE-2024-27034-e2733a7b", "signature_type": "Line", "target": { "file": "fs/f2fs/data.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "100426005138541557288227972612686157852", "158319058896494666415185479037755585262", "263637788784824302921642873438570167506", "242333401873115129885388365422495803690", "287026740089549034363773354557232673611", "289745662988208844865721901685551679925", "22452347537609714394441377930273560918", "15127667614788946975492195111277490565" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286" }, { "id": "CVE-2024-27034-e6661e23", "signature_type": "Line", "target": { "file": "fs/f2fs/compress.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "190555713806840373424375441284434095018", "260493638203978900237014213974970705600", "147508447429467772669845088892321192825", "318632353295168571761847627690026239164", "286406447835226550487461821574538197383", "34099295875352958260951457041904470913", "72111022641122356915445260237784882495", "24994072762364123609304785715988857350", "43567771345881848805559778414882535558", "57973783810200336095971406764904954796", "153187851020947260222489864752164463554", "65771388446540895997176016335275459508", "99698892016966516991435707971657289039", "109665453548697820558037493599105775236", "145276230148887563877553098920371556713", "273283674557910382669582874050810607618", "35121346049842087621560567036663437370", "326313035840462795165424886948018296956", "311803408472282836250020071944169304121", "312326474927244414039616123392316828552", "75144800171849051434079949393551151500", "297394878722708146899735404977723004285", "106882597893641435138109641868615897594", "187217028405277468288033891278489392183", "327567722477966942379139093050520333532", "26267096709952010978043378118000251775", "90582527268454245015597532987527946261", "18922602907415090276972182252719031431", "192686545398291541493363052511024744450", "239272524940251227039970405280689156191", "251401018839801741533622440754197289796", "231841697409289779352323818407227600331" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd244524c2cf07b5f4c3fe8abd6a99225c76544b" }, { "id": "CVE-2024-27034-f7bc8b27", "signature_type": "Function", "target": { "file": "fs/f2fs/data.c", "function": "f2fs_write_single_data_page" }, "signature_version": "v1", "digest": { "length": 2976.0, "function_hash": "96473441026166445217945001727589516461" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739" }, { "id": "CVE-2024-27034-fa780389", "signature_type": "Function", "target": { "file": "fs/f2fs/data.c", "function": "f2fs_write_single_data_page" }, "signature_version": "v1", "digest": { "length": 2976.0, "function_hash": "96473441026166445217945001727589516461" }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fd244524c2cf07b5f4c3fe8abd6a99225c76544b" }, { "id": "CVE-2024-27034-fc02d892", "signature_type": "Line", "target": { "file": "fs/f2fs/compress.c" }, "signature_version": "v1", "digest": { "line_hashes": [ "190555713806840373424375441284434095018", "260493638203978900237014213974970705600", "147508447429467772669845088892321192825", "318632353295168571761847627690026239164", "286406447835226550487461821574538197383", "34099295875352958260951457041904470913", "72111022641122356915445260237784882495", "24994072762364123609304785715988857350", "43567771345881848805559778414882535558", "57973783810200336095971406764904954796", "153187851020947260222489864752164463554", "65771388446540895997176016335275459508", "99698892016966516991435707971657289039", "109665453548697820558037493599105775236", "145276230148887563877553098920371556713", "273283674557910382669582874050810607618", "35121346049842087621560567036663437370", "326313035840462795165424886948018296956", "311803408472282836250020071944169304121", "312326474927244414039616123392316828552", "75144800171849051434079949393551151500", "297394878722708146899735404977723004285", "106882597893641435138109641868615897594", "187217028405277468288033891278489392183", "327567722477966942379139093050520333532", "26267096709952010978043378118000251775", "90582527268454245015597532987527946261", "18922602907415090276972182252719031431", "192686545398291541493363052511024744450", "239272524940251227039970405280689156191", "251401018839801741533622440754197289796", "231841697409289779352323818407227600331" ], "threshold": 0.9 }, "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286" } ] }