In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix slab out of bounds write in smbinheritdacl()
slab out-of-bounds write is caused by that offsets is bigger than pntsd allocation size. This patch add the check to validate 3 offsets using allocation size.
[
{
"id": "CVE-2023-52755-04e923db",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8387c94d73ec66eb597c7a23a8d9eadf64bfbafa",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"83299410312269900841779969465236890985",
"318402832596814736183065769611999485065",
"276888736693926494221430492876612947375",
"87307531932019669556059133128072598186",
"210783937263096677821291889579060421597",
"113276439563310123623938305839876212760",
"67203626519284622305754784511015389277",
"176755859801696488849952868871108357024",
"121271467511191794845204286643244045208",
"178540022722585812835240024740466696512",
"190880727473368573788606545856526002570",
"164310243817972993560420460624348751046",
"230895966643501703246527124204032203403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52755-2394d7cf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09d9d8b40a3338193619c14ed4dc040f4f119e70",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"83299410312269900841779969465236890985",
"318402832596814736183065769611999485065",
"276888736693926494221430492876612947375",
"87307531932019669556059133128072598186",
"210783937263096677821291889579060421597",
"113276439563310123623938305839876212760",
"67203626519284622305754784511015389277",
"176755859801696488849952868871108357024",
"121271467511191794845204286643244045208",
"178540022722585812835240024740466696512",
"190880727473368573788606545856526002570",
"164310243817972993560420460624348751046",
"230895966643501703246527124204032203403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52755-29b143a6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebff19acaa35820cb09ce2ccb3d21bee2156ffb",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"83299410312269900841779969465236890985",
"318402832596814736183065769611999485065",
"276888736693926494221430492876612947375",
"87307531932019669556059133128072598186",
"210783937263096677821291889579060421597",
"113276439563310123623938305839876212760",
"67203626519284622305754784511015389277",
"176755859801696488849952868871108357024",
"121271467511191794845204286643244045208",
"178540022722585812835240024740466696512",
"190880727473368573788606545856526002570",
"164310243817972993560420460624348751046",
"230895966643501703246527124204032203403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52755-2fe15f88",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@09d9d8b40a3338193619c14ed4dc040f4f119e70",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "smb_inherit_dacl",
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"length": 4276.0,
"function_hash": "76149239310467483097472688783759529305"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52755-95c08a75",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@712e01f32e577e7e48ab0adb5fe550646a3d93cb",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "smb_inherit_dacl",
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"length": 4276.0,
"function_hash": "76149239310467483097472688783759529305"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52755-a1e53bed",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@712e01f32e577e7e48ab0adb5fe550646a3d93cb",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"83299410312269900841779969465236890985",
"318402832596814736183065769611999485065",
"276888736693926494221430492876612947375",
"87307531932019669556059133128072598186",
"210783937263096677821291889579060421597",
"113276439563310123623938305839876212760",
"67203626519284622305754784511015389277",
"176755859801696488849952868871108357024",
"121271467511191794845204286643244045208",
"178540022722585812835240024740466696512",
"190880727473368573788606545856526002570",
"164310243817972993560420460624348751046",
"230895966643501703246527124204032203403"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-52755-afe63080",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aaf0a07d60887d6c36fc46a24de0083744f07819",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "smb_inherit_dacl",
"file": "fs/ksmbd/smbacl.c"
},
"digest": {
"length": 4280.0,
"function_hash": "141289014642861133847980183283191970903"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52755-bf6dd5cb",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@eebff19acaa35820cb09ce2ccb3d21bee2156ffb",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "smb_inherit_dacl",
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"length": 4276.0,
"function_hash": "76149239310467483097472688783759529305"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52755-cdd68151",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@8387c94d73ec66eb597c7a23a8d9eadf64bfbafa",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "smb_inherit_dacl",
"file": "fs/smb/server/smbacl.c"
},
"digest": {
"length": 4286.0,
"function_hash": "241677874796956537890043273485973888903"
},
"signature_type": "Function"
},
{
"id": "CVE-2023-52755-fbc310bd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@aaf0a07d60887d6c36fc46a24de0083744f07819",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ksmbd/smbacl.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"83299410312269900841779969465236890985",
"318402832596814736183065769611999485065",
"276888736693926494221430492876612947375",
"87307531932019669556059133128072598186",
"210783937263096677821291889579060421597",
"113276439563310123623938305839876212760",
"67203626519284622305754784511015389277",
"176755859801696488849952868871108357024",
"121271467511191794845204286643244045208",
"178540022722585812835240024740466696512",
"190880727473368573788606545856526002570",
"164310243817972993560420460624348751046",
"230895966643501703246527124204032203403"
]
},
"signature_type": "Line"
}
]