In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Limit read size on v1.2
Between UCSI 1.2 and UCSI 2.0, the size of the MESSAGE_IN region was increased from 16 to 256. In order to avoid overflowing reads for older systems, add a mechanism to use the read UCSI version to truncate read sizes on UCSI v1.2.
[
{
"digest": {
"length": 1446.0,
"function_hash": "63917578422204467014569546547710641772"
},
"signature_type": "Function",
"target": {
"function": "ucsi_read_error",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@266f403ec47573046dee4bcebda82777ce702c40",
"id": "CVE-2024-35924-010299a2"
},
{
"digest": {
"length": 305.0,
"function_hash": "1685519398872825479073571787976824550"
},
"signature_type": "Function",
"target": {
"function": "ucsi_register",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@266f403ec47573046dee4bcebda82777ce702c40",
"id": "CVE-2024-35924-1c730d30"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"142002162663645187700726197594252970153",
"150195240025339420043397223331792903098",
"128245612645909244630454851347712815162",
"310413195858792284594197710013585320353",
"76974281868753691266148667364828297400",
"221403519644568718428922979404805872464",
"313962106937077336940260509057401046356",
"303368232461389658601995891392349442172",
"138619597335020797335852102261373019983",
"152423260386980909361855778424299171525",
"251375974320294457483352903647098368837",
"336395475905764752205171646585446666839",
"298927451947358714121216307775973853523",
"193590651187464831311736526405540841825"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0defcaa09d3b21e8387829ee3a652c43fa91e13f",
"id": "CVE-2024-35924-1cc5242e"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"142002162663645187700726197594252970153",
"150195240025339420043397223331792903098",
"128245612645909244630454851347712815162",
"310413195858792284594197710013585320353",
"76974281868753691266148667364828297400",
"221403519644568718428922979404805872464",
"313962106937077336940260509057401046356",
"303368232461389658601995891392349442172",
"138619597335020797335852102261373019983",
"152423260386980909361855778424299171525",
"251375974320294457483352903647098368837",
"336395475905764752205171646585446666839",
"298927451947358714121216307775973853523",
"193590651187464831311736526405540841825"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3db266fb031fba88c423d4bb8983a73a3db6527",
"id": "CVE-2024-35924-38e7f3dd"
},
{
"digest": {
"length": 305.0,
"function_hash": "1685519398872825479073571787976824550"
},
"signature_type": "Function",
"target": {
"function": "ucsi_register",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3db266fb031fba88c423d4bb8983a73a3db6527",
"id": "CVE-2024-35924-398fca32"
},
{
"digest": {
"length": 305.0,
"function_hash": "1685519398872825479073571787976824550"
},
"signature_type": "Function",
"target": {
"function": "ucsi_register",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0defcaa09d3b21e8387829ee3a652c43fa91e13f",
"id": "CVE-2024-35924-719de285"
},
{
"digest": {
"length": 439.0,
"function_hash": "249793388815086234534037366377389699773"
},
"signature_type": "Function",
"target": {
"function": "ucsi_send_command",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@266f403ec47573046dee4bcebda82777ce702c40",
"id": "CVE-2024-35924-b22ca70c"
},
{
"digest": {
"length": 439.0,
"function_hash": "249793388815086234534037366377389699773"
},
"signature_type": "Function",
"target": {
"function": "ucsi_send_command",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3db266fb031fba88c423d4bb8983a73a3db6527",
"id": "CVE-2024-35924-c8404bab"
},
{
"digest": {
"length": 439.0,
"function_hash": "249793388815086234534037366377389699773"
},
"signature_type": "Function",
"target": {
"function": "ucsi_send_command",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0defcaa09d3b21e8387829ee3a652c43fa91e13f",
"id": "CVE-2024-35924-d5f6b2fe"
},
{
"digest": {
"length": 1446.0,
"function_hash": "63917578422204467014569546547710641772"
},
"signature_type": "Function",
"target": {
"function": "ucsi_read_error",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b3db266fb031fba88c423d4bb8983a73a3db6527",
"id": "CVE-2024-35924-e0598a0c"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"142002162663645187700726197594252970153",
"150195240025339420043397223331792903098",
"128245612645909244630454851347712815162",
"310413195858792284594197710013585320353",
"76974281868753691266148667364828297400",
"221403519644568718428922979404805872464",
"313962106937077336940260509057401046356",
"303368232461389658601995891392349442172",
"138619597335020797335852102261373019983",
"152423260386980909361855778424299171525",
"251375974320294457483352903647098368837",
"336395475905764752205171646585446666839",
"298927451947358714121216307775973853523",
"193590651187464831311736526405540841825"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@266f403ec47573046dee4bcebda82777ce702c40",
"id": "CVE-2024-35924-f0553a8d"
},
{
"digest": {
"length": 1446.0,
"function_hash": "63917578422204467014569546547710641772"
},
"signature_type": "Function",
"target": {
"function": "ucsi_read_error",
"file": "drivers/usb/typec/ucsi/ucsi.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0defcaa09d3b21e8387829ee3a652c43fa91e13f",
"id": "CVE-2024-35924-f5ed23d6"
}
]