In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: validate BOOT sectorsperclusters
When the NTFS BOOT sectorsperclusters field is > 0x80, it represents a shift value. Make sure that the shift value is not too large before using it (NTFS max cluster size is 2MB). Return -EVINVAL if it too large.
This prevents negative shift values and shift values that are larger than the field size.
Prevents this UBSAN error:
UBSAN: shift-out-of-bounds in ../fs/ntfs3/super.c:673:16 shift exponent -192 is negative
[
{
"id": "CVE-2022-49553-1862a19d",
"target": {
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4746c49b11b2403f5b5b07c6eac9e60663dcd9a3",
"deprecated": false,
"digest": {
"line_hashes": [
"265157899067650716235379675888929193445",
"290012992783940425152835655344813690517",
"306881552964913348344325203185917568657",
"293076446283029944379534168819847268582",
"266375634319637378582575114365546804194",
"330327530519015976946706805718938607569",
"39257888919054408382404198954474903659",
"237384376028334654273711469133389200041",
"74178366408248133620786629962716156736",
"263434213283740353418859357557123028225"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-49553-49e5a03f",
"target": {
"function": "true_sectors_per_clst",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b774342fa752a5290c0de36375289dfcf4a260",
"deprecated": false,
"digest": {
"length": 178.0,
"function_hash": "228097963235038941323234832904099603915"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-4d79e311",
"target": {
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b774342fa752a5290c0de36375289dfcf4a260",
"deprecated": false,
"digest": {
"line_hashes": [
"265157899067650716235379675888929193445",
"290012992783940425152835655344813690517",
"306881552964913348344325203185917568657",
"293076446283029944379534168819847268582",
"266375634319637378582575114365546804194",
"330327530519015976946706805718938607569",
"39257888919054408382404198954474903659",
"237384376028334654273711469133389200041",
"74178366408248133620786629962716156736",
"263434213283740353418859357557123028225"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-49553-5b521b41",
"target": {
"function": "true_sectors_per_clst",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2b6986316a2d106f6951e76db70fa4b2fde64a9",
"deprecated": false,
"digest": {
"length": 178.0,
"function_hash": "228097963235038941323234832904099603915"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-671b145e",
"target": {
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58cf68a1886d14ffdc5c892ce483a82156769e88",
"deprecated": false,
"digest": {
"line_hashes": [
"265157899067650716235379675888929193445",
"290012992783940425152835655344813690517",
"306881552964913348344325203185917568657",
"293076446283029944379534168819847268582",
"266375634319637378582575114365546804194",
"330327530519015976946706805718938607569",
"39257888919054408382404198954474903659",
"237384376028334654273711469133389200041",
"74178366408248133620786629962716156736",
"263434213283740353418859357557123028225"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-49553-76ccbfd2",
"target": {
"function": "ntfs_init_from_boot",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a3b774342fa752a5290c0de36375289dfcf4a260",
"deprecated": false,
"digest": {
"length": 4469.0,
"function_hash": "289494958195594023356201597396750042839"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-903b6711",
"target": {
"function": "true_sectors_per_clst",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58cf68a1886d14ffdc5c892ce483a82156769e88",
"deprecated": false,
"digest": {
"length": 178.0,
"function_hash": "228097963235038941323234832904099603915"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-b1bb5f43",
"target": {
"function": "ntfs_init_from_boot",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4746c49b11b2403f5b5b07c6eac9e60663dcd9a3",
"deprecated": false,
"digest": {
"length": 4469.0,
"function_hash": "289494958195594023356201597396750042839"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-b33e71b0",
"target": {
"function": "ntfs_init_from_boot",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58cf68a1886d14ffdc5c892ce483a82156769e88",
"deprecated": false,
"digest": {
"length": 4469.0,
"function_hash": "289494958195594023356201597396750042839"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-c3841e80",
"target": {
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2b6986316a2d106f6951e76db70fa4b2fde64a9",
"deprecated": false,
"digest": {
"line_hashes": [
"265157899067650716235379675888929193445",
"290012992783940425152835655344813690517",
"306881552964913348344325203185917568657",
"293076446283029944379534168819847268582",
"266375634319637378582575114365546804194",
"330327530519015976946706805718938607569",
"39257888919054408382404198954474903659",
"237384376028334654273711469133389200041",
"74178366408248133620786629962716156736",
"263434213283740353418859357557123028225"
],
"threshold": 0.9
},
"signature_type": "Line"
},
{
"id": "CVE-2022-49553-d4a53f87",
"target": {
"function": "true_sectors_per_clst",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4746c49b11b2403f5b5b07c6eac9e60663dcd9a3",
"deprecated": false,
"digest": {
"length": 178.0,
"function_hash": "228097963235038941323234832904099603915"
},
"signature_type": "Function"
},
{
"id": "CVE-2022-49553-e08f36e1",
"target": {
"function": "ntfs_init_from_boot",
"file": "fs/ntfs3/super.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a2b6986316a2d106f6951e76db70fa4b2fde64a9",
"deprecated": false,
"digest": {
"length": 4469.0,
"function_hash": "289494958195594023356201597396750042839"
},
"signature_type": "Function"
}
]