In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to check atomic_file in f2fs ioctl interfaces
Some f2fs ioctl interfaces like f2fsiocsetpinfile(), f2fsmovefilerange(), and f2fsdefragmentrange() missed to check atomicwrite status, which may cause potential race issue, fix it.
[
{
"target": {
"file": "fs/f2fs/file.c"
},
"digest": {
"line_hashes": [
"145490226109647065969818476083946751997",
"200045709094871135516817327885870820510",
"225190836344821206139208367146908098184",
"110761657049636726053813610482215174474",
"221219241540471715759091565526083356687",
"114686629161691487816187855560715187499",
"166481260456560450622526458603783228265",
"110300931673068707764930771584632911468",
"107616918931250443770459822460372877742",
"201954258206019821894686446904998607685"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26b07bd2e1f124b0e430c8d250023f7205c549c3",
"deprecated": false,
"id": "CVE-2024-49859-153d9061",
"signature_type": "Line"
},
{
"target": {
"function": "f2fs_defragment_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2592.0,
"function_hash": "211484302528119927801811755443917613942"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe5c02654261bfb8bd9cb174a67f3279ea99e58",
"deprecated": false,
"id": "CVE-2024-49859-190dcac4",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_ioc_set_pin_file",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 899.0,
"function_hash": "25323387907784636864593862207298622024"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26b07bd2e1f124b0e430c8d250023f7205c549c3",
"deprecated": false,
"id": "CVE-2024-49859-2752c894",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_ioc_set_pin_file",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 1009.0,
"function_hash": "296520529315754558482239563889405339152"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe5c02654261bfb8bd9cb174a67f3279ea99e58",
"deprecated": false,
"id": "CVE-2024-49859-4fc1d656",
"signature_type": "Function"
},
{
"target": {
"file": "fs/f2fs/file.c"
},
"digest": {
"line_hashes": [
"315982302799612936440232765445192631063",
"165516055364451388837635384028259402811",
"173762497115439970890561840090385803365",
"110761657049636726053813610482215174474",
"221219241540471715759091565526083356687",
"114686629161691487816187855560715187499",
"166481260456560450622526458603783228265",
"110300931673068707764930771584632911468",
"107616918931250443770459822460372877742",
"201954258206019821894686446904998607685"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10569b682ebe9c75ef06ddd322ae844e9be6374b",
"deprecated": false,
"id": "CVE-2024-49859-5b08464a",
"signature_type": "Line"
},
{
"target": {
"function": "f2fs_ioc_set_pin_file",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 1048.0,
"function_hash": "30731769217236114158982693729779451337"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cb51731f24b216b0b87942f519f2c67a17107ee",
"deprecated": false,
"id": "CVE-2024-49859-5ca40f55",
"signature_type": "Function"
},
{
"target": {
"file": "fs/f2fs/file.c"
},
"digest": {
"line_hashes": [
"145490226109647065969818476083946751997",
"200045709094871135516817327885870820510",
"225190836344821206139208367146908098184",
"110761657049636726053813610482215174474",
"221219241540471715759091565526083356687",
"114686629161691487816187855560715187499",
"166481260456560450622526458603783228265",
"110300931673068707764930771584632911468",
"107616918931250443770459822460372877742",
"201954258206019821894686446904998607685"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cb51731f24b216b0b87942f519f2c67a17107ee",
"deprecated": false,
"id": "CVE-2024-49859-5f316a53",
"signature_type": "Line"
},
{
"target": {
"function": "f2fs_move_file_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2485.0,
"function_hash": "198044114475648578484334397821249678398"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26b07bd2e1f124b0e430c8d250023f7205c549c3",
"deprecated": false,
"id": "CVE-2024-49859-6c28e74f",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_move_file_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2672.0,
"function_hash": "294431665439975007297310044537168970805"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe5c02654261bfb8bd9cb174a67f3279ea99e58",
"deprecated": false,
"id": "CVE-2024-49859-7593dcdb",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_ioc_set_pin_file",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 1009.0,
"function_hash": "296520529315754558482239563889405339152"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10569b682ebe9c75ef06ddd322ae844e9be6374b",
"deprecated": false,
"id": "CVE-2024-49859-89bfea30",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_move_file_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2692.0,
"function_hash": "309373269288272620157046520427886524287"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cb51731f24b216b0b87942f519f2c67a17107ee",
"deprecated": false,
"id": "CVE-2024-49859-94d94e01",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_defragment_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2532.0,
"function_hash": "32959293975453759554756643341334165761"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cb51731f24b216b0b87942f519f2c67a17107ee",
"deprecated": false,
"id": "CVE-2024-49859-9f071941",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_defragment_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2552.0,
"function_hash": "200601693144873483473931464359830509379"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@26b07bd2e1f124b0e430c8d250023f7205c549c3",
"deprecated": false,
"id": "CVE-2024-49859-c21da6c4",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_move_file_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2696.0,
"function_hash": "313558203274021301958336280360906258282"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10569b682ebe9c75ef06ddd322ae844e9be6374b",
"deprecated": false,
"id": "CVE-2024-49859-c62fa31a",
"signature_type": "Function"
},
{
"target": {
"function": "f2fs_defragment_range",
"file": "fs/f2fs/file.c"
},
"digest": {
"length": 2592.0,
"function_hash": "211484302528119927801811755443917613942"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@10569b682ebe9c75ef06ddd322ae844e9be6374b",
"deprecated": false,
"id": "CVE-2024-49859-e9a41de6",
"signature_type": "Function"
},
{
"target": {
"file": "fs/f2fs/file.c"
},
"digest": {
"line_hashes": [
"315982302799612936440232765445192631063",
"165516055364451388837635384028259402811",
"173762497115439970890561840090385803365",
"110761657049636726053813610482215174474",
"221219241540471715759091565526083356687",
"114686629161691487816187855560715187499",
"166481260456560450622526458603783228265",
"110300931673068707764930771584632911468",
"107616918931250443770459822460372877742",
"201954258206019821894686446904998607685"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bfe5c02654261bfb8bd9cb174a67f3279ea99e58",
"deprecated": false,
"id": "CVE-2024-49859-f82abfed",
"signature_type": "Line"
}
]