In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix data corruption after failed write
When buffered write fails to copy data into underlying page cache page, ocfs2writeendnolock() just zeroes out and dirties the page. This can leave dirty page beyond EOF and if page writeback tries to write this page before write succeeds and expands isize, page gets into inconsistent state where page dirty bit is clear but buffer dirty bits stay set resulting in page data never getting written and so data copied to the page is lost. Fix the problem by invalidating page beyond EOF after failed write.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90410bcf873cf05f54a32183afff0161f44f9715",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-118c1c33",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c24eb49ab44351424ac8fe8567f91ea48a06089",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-18bc5af9",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47eb055ad3588fc96d34e9e1dd87b210ce62906b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-19634127",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@205759c6c18f54659b0b5976b14a52d1b3eb9f57",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-2b3f3bac",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1629f6f522b2d058019710466a84b240683bbee3",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-3793b845",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-395d4ba2",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47eb055ad3588fc96d34e9e1dd87b210ce62906b",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-41e39bb5",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9e53869cb43c96d6d851c491fd4e26430ab6ba6",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-71e8ed4f",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1629f6f522b2d058019710466a84b240683bbee3",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-757ffeb4",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2144.0,
"function_hash": "38088034418054653049403174348621615335"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4c24eb49ab44351424ac8fe8567f91ea48a06089",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-89439dbf",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@205759c6c18f54659b0b5976b14a52d1b3eb9f57",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-a75af705",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-a9afb3ab",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2144.0,
"function_hash": "38088034418054653049403174348621615335"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a9e53869cb43c96d6d851c491fd4e26430ab6ba6",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-ac1b4283",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c26f3ff4c0be590c1250f945ac2e4fc5fcdc5f45",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-b282b7f9",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@91d7a4bd5656552d6259e2d0f8859f9e8cc5ef68",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-d8aa66d5",
"target": {
"function": "ocfs2_write_end_nolock",
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Function",
"digest": {
"length": 2245.0,
"function_hash": "190984952877455001648484982668767153377"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@90410bcf873cf05f54a32183afff0161f44f9715",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2023-53081-ea204c70",
"target": {
"file": "fs/ocfs2/aops.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"149603232750785215084968898303693747204",
"241708880648783403298823253960661543834",
"278650262891332827731420450386566391210",
"303992109869185440970796529857263105232",
"30606737662862042766187412696375082778",
"186854169005642190649662137120762960859",
"217873588146474529505200942306628598589",
"279286002493362021346079152792306103032"
]
}
}
]