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.
[
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"100426005138541557288227972612686157852",
"158319058896494666415185479037755585262",
"263637788784824302921642873438570167506",
"242333401873115129885388365422495803690",
"287026740089549034363773354557232673611",
"289745662988208844865721901685551679925",
"22452347537609714394441377930273560918",
"15127667614788946975492195111277490565"
]
},
"id": "CVE-2024-27034-13e21067",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@542c8b3c774a480bfd0804291a12f6f2391b0cd1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_write_single_data_page"
},
"digest": {
"length": 3011.0,
"function_hash": "231189489760184326833196608874329771500"
},
"id": "CVE-2024-27034-1cffa66e",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c"
},
"digest": {
"threshold": 0.9,
"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"
]
},
"id": "CVE-2024-27034-2b96146f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c",
"function": "f2fs_write_raw_pages"
},
"digest": {
"length": 1414.0,
"function_hash": "117527757402341938126695019001519691374"
},
"id": "CVE-2024-27034-3c664df8",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"100426005138541557288227972612686157852",
"158319058896494666415185479037755585262",
"263637788784824302921642873438570167506",
"242333401873115129885388365422495803690",
"287026740089549034363773354557232673611",
"289745662988208844865721901685551679925",
"22452347537609714394441377930273560918",
"15127667614788946975492195111277490565"
]
},
"id": "CVE-2024-27034-49abf7f9",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c",
"function": "f2fs_write_raw_pages"
},
"digest": {
"length": 1414.0,
"function_hash": "117527757402341938126695019001519691374"
},
"id": "CVE-2024-27034-4a82f90b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@542c8b3c774a480bfd0804291a12f6f2391b0cd1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_write_single_data_page"
},
"digest": {
"length": 3011.0,
"function_hash": "231189489760184326833196608874329771500"
},
"id": "CVE-2024-27034-4f18d9dd",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"100426005138541557288227972612686157852",
"158319058896494666415185479037755585262",
"263637788784824302921642873438570167506",
"242333401873115129885388365422495803690",
"287026740089549034363773354557232673611",
"289745662988208844865721901685551679925",
"22452347537609714394441377930273560918",
"15127667614788946975492195111277490565"
]
},
"id": "CVE-2024-27034-6a1d5155",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c"
},
"digest": {
"threshold": 0.9,
"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"
]
},
"id": "CVE-2024-27034-8a6efb24",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c",
"function": "f2fs_write_raw_pages"
},
"digest": {
"length": 1414.0,
"function_hash": "117527757402341938126695019001519691374"
},
"id": "CVE-2024-27034-93dd1e54",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2b1b14d9fc94b8feae20808684c8af28ec80f45b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_write_single_data_page"
},
"digest": {
"length": 2934.0,
"function_hash": "335820870798347220056860433059339650638"
},
"id": "CVE-2024-27034-b2c2b3e7",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@542c8b3c774a480bfd0804291a12f6f2391b0cd1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c",
"function": "f2fs_write_raw_pages"
},
"digest": {
"length": 1414.0,
"function_hash": "117527757402341938126695019001519691374"
},
"id": "CVE-2024-27034-e009f729",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"100426005138541557288227972612686157852",
"158319058896494666415185479037755585262",
"263637788784824302921642873438570167506",
"242333401873115129885388365422495803690",
"287026740089549034363773354557232673611",
"289745662988208844865721901685551679925",
"22452347537609714394441377930273560918",
"15127667614788946975492195111277490565"
]
},
"id": "CVE-2024-27034-e2733a7b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c"
},
"digest": {
"threshold": 0.9,
"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"
]
},
"id": "CVE-2024-27034-eef4d9ee",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@542c8b3c774a480bfd0804291a12f6f2391b0cd1",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/data.c",
"function": "f2fs_write_single_data_page"
},
"digest": {
"length": 2976.0,
"function_hash": "96473441026166445217945001727589516461"
},
"id": "CVE-2024-27034-f7bc8b27",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52982edfcefd475cc34af663d5c47c0cddaa5739",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "fs/f2fs/compress.c"
},
"digest": {
"threshold": 0.9,
"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"
]
},
"id": "CVE-2024-27034-fc02d892",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@75abfd61392b1db391bde6d738a30d685b843286",
"signature_version": "v1"
}
]