In the Linux kernel, the following vulnerability has been resolved:
powerpc/prom_init: Fixup missing powermac #size-cells
On some powermacs escc nodes are missing #size-cells properties,
which is deprecated and now triggers a warning at boot since commit
045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells
handling").
For example:
Missing '#size-cells' in /pci@f2000000/mac-io@c/escc@13000 WARNING: CPU: 0 PID: 0 at drivers/of/base.c:133 ofbusnsizecells+0x98/0x108 Hardware name: PowerMac3,1 7400 0xc0209 PowerMac ... Call Trace: ofbusnsizecells+0x98/0x108 (unreliable) ofbusdefaultcountcells+0x40/0x60 _ofgetaddress+0xc8/0x21c _ofaddresstoresource+0x5c/0x228 pmzinitport+0x5c/0x2ec pmzprobe.isra.0+0x144/0x1e4 pmzconsoleinit+0x10/0x48 consoleinit+0xcc/0x138 startkernel+0x5c4/0x694
As powermacs boot via prom_init it's possible to add the missing
properties to the device tree during boot, avoiding the warning. Note
that escc-legacy nodes are also missing #size-cells properties, but
they are skipped by the macio driver, so leave them alone.
Depends-on: 045b14ca5c36 ("of: WARN on deprecated #address-cells/#size-cells handling")
[
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-04e6c620",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee68554d2c03e32077f7b984e5289fdb005036d2",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-0b24c17c",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a79a7e3c03ae2a07f68b5f24d5ed549f9799ec89",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-0bdae195",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b94d838018fb0a824e0cd3149034928c99fb1b7",
"deprecated": false
},
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-0d4430ee",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d5f0453a2228607333bff0c85238a3cb495d194",
"deprecated": false
},
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-2d04e80e",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b94d838018fb0a824e0cd3149034928c99fb1b7",
"deprecated": false
},
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-3363c946",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691284c2cd33ffaa0b35ce53b3286b90621e9dc9",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-548b34bd",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@691284c2cd33ffaa0b35ce53b3286b90621e9dc9",
"deprecated": false
},
{
"digest": {
"length": 95.0,
"function_hash": "182826130565422365819911682628591562191"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-6b8c6754",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf89c9434af122f28a3552e6f9cc5158c33ce50a",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-71a7178d",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6d5f0453a2228607333bff0c85238a3cb495d194",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-82c4a0a8",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@296a109fa77110ba5267fe0e90a26005eecc2726",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"32976334219723447029762455916709877189",
"85418879348822633592654357185884326941",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-a0f3e31c",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf89c9434af122f28a3552e6f9cc5158c33ce50a",
"deprecated": false
},
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-a39b4a56",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a79a7e3c03ae2a07f68b5f24d5ed549f9799ec89",
"deprecated": false
},
{
"digest": {
"length": 125.0,
"function_hash": "100847216176649500790243013093473894430"
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c",
"function": "fixup_device_tree"
},
"signature_type": "Function",
"id": "CVE-2024-56781-d0c734c6",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@296a109fa77110ba5267fe0e90a26005eecc2726",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"221224804595246661398823798133581123451",
"52162131480248071511845710385526851002",
"12384469224910610554178544552808331104",
"37157767814813623326683087695680378913",
"118330313456207275585009705968016499220",
"121422206198720354558082560089940033693",
"41572644055378497833211587275926280607",
"158807788330713092741802594028823988753",
"32793068314968106702761385891243327676",
"94345212083088785710498562066375741113",
"126535264083382288168937511417922624552"
],
"threshold": 0.9
},
"target": {
"file": "arch/powerpc/kernel/prom_init.c"
},
"signature_type": "Line",
"id": "CVE-2024-56781-f7990e4b",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ee68554d2c03e32077f7b984e5289fdb005036d2",
"deprecated": false
}
]