In the Linux kernel, the following vulnerability has been resolved:
clk: Get runtime PM before walking tree for clk_summary
Similar to the previous commit, we should make sure that all devices are runtime resumed before printing the clksummary through debugfs. Failure to do so would result in a deadlock if the thread is resuming a device to print clk state and that device is also runtime resuming in another thread, e.g the screen is turning on and the display driver is starting up. We remove the calls to clkpmruntime{get,put}() in this path because they're superfluous now that we know the devices are runtime resumed. This also squashes a bug where the return value of clkpmruntime_get() wasn't checked, leading to an RPM count underflow on error paths.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show_subtree"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b457105309d388e4081c716cf7b81d517ff74db4",
"digest": {
"length": 269.0,
"function_hash": "302095760555653213267120575743008973495"
},
"id": "CVE-2024-27003-23046b76"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show_subtree"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c077fdfd09dffb31a890e5095c8ab205138a42e",
"digest": {
"length": 269.0,
"function_hash": "302095760555653213267120575743008973495"
},
"id": "CVE-2024-27003-2334457c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b457105309d388e4081c716cf7b81d517ff74db4",
"digest": {
"line_hashes": [
"132590954098856492149825935788621538514",
"118177374313895118858410259233600853150",
"62661461027740692056649609246288731942",
"130236964047573992671482082094893135934",
"259101326210141149788496347479802808987",
"329384192166018548371765397548678893364",
"115100260030349304078116739492952383222",
"31781031170486747039640533418881556453",
"273706368239679221189350056323717911748",
"92426950751489053197282287783871037657",
"37512950774318526192761869374618119173",
"197630727125954157730789995965023010747",
"111706124145561459203377219506044602778",
"217965739509082868252102643512525358591",
"254518915010626085857611512065873602776",
"305136075981167511760920078932557235224",
"224900747432696749126825203365000517046",
"201916442473652657249072426592374292650",
"240115443462444939447203174971408427327",
"239109625053237437722884441981124915965",
"248647250968922686580092649604475709562",
"65301210866036490654411161917736672688",
"326229416943612864254492158686228429775",
"102587988680663847243263798931299140898",
"67362961455146761327995786974915428485",
"243207223384939734963868505828313034976"
],
"threshold": 0.9
},
"id": "CVE-2024-27003-30b5a326"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_dump_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d1e795f754db1ac3344528b7af0b17b8146f321",
"digest": {
"length": 392.0,
"function_hash": "43221532344149078880452564840276323642"
},
"id": "CVE-2024-27003-38f9a5a5"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_dump_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c077fdfd09dffb31a890e5095c8ab205138a42e",
"digest": {
"length": 392.0,
"function_hash": "43221532344149078880452564840276323642"
},
"id": "CVE-2024-27003-63eb4cb3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show_subtree"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d1e795f754db1ac3344528b7af0b17b8146f321",
"digest": {
"length": 269.0,
"function_hash": "302095760555653213267120575743008973495"
},
"id": "CVE-2024-27003-91ff7e1c"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c077fdfd09dffb31a890e5095c8ab205138a42e",
"digest": {
"length": 762.0,
"function_hash": "248222786402587046581506449832552033631"
},
"id": "CVE-2024-27003-a8658454"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_dump_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b457105309d388e4081c716cf7b81d517ff74db4",
"digest": {
"length": 392.0,
"function_hash": "43221532344149078880452564840276323642"
},
"id": "CVE-2024-27003-c386717b"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d1e795f754db1ac3344528b7af0b17b8146f321",
"digest": {
"line_hashes": [
"132590954098856492149825935788621538514",
"118177374313895118858410259233600853150",
"62661461027740692056649609246288731942",
"130236964047573992671482082094893135934",
"259101326210141149788496347479802808987",
"329384192166018548371765397548678893364",
"115100260030349304078116739492952383222",
"31781031170486747039640533418881556453",
"273706368239679221189350056323717911748",
"92426950751489053197282287783871037657",
"37512950774318526192761869374618119173",
"197630727125954157730789995965023010747",
"111706124145561459203377219506044602778",
"217965739509082868252102643512525358591",
"254518915010626085857611512065873602776",
"305136075981167511760920078932557235224",
"224900747432696749126825203365000517046",
"201916442473652657249072426592374292650",
"240115443462444939447203174971408427327",
"239109625053237437722884441981124915965",
"248647250968922686580092649604475709562",
"65301210866036490654411161917736672688",
"326229416943612864254492158686228429775",
"102587988680663847243263798931299140898",
"67362961455146761327995786974915428485",
"243207223384939734963868505828313034976"
],
"threshold": 0.9
},
"id": "CVE-2024-27003-d13a369f"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2c077fdfd09dffb31a890e5095c8ab205138a42e",
"digest": {
"line_hashes": [
"132590954098856492149825935788621538514",
"118177374313895118858410259233600853150",
"62661461027740692056649609246288731942",
"130236964047573992671482082094893135934",
"259101326210141149788496347479802808987",
"329384192166018548371765397548678893364",
"115100260030349304078116739492952383222",
"31781031170486747039640533418881556453",
"273706368239679221189350056323717911748",
"92426950751489053197282287783871037657",
"37512950774318526192761869374618119173",
"197630727125954157730789995965023010747",
"111706124145561459203377219506044602778",
"217965739509082868252102643512525358591",
"254518915010626085857611512065873602776",
"305136075981167511760920078932557235224",
"224900747432696749126825203365000517046",
"201916442473652657249072426592374292650",
"240115443462444939447203174971408427327",
"239109625053237437722884441981124915965",
"248647250968922686580092649604475709562",
"65301210866036490654411161917736672688",
"326229416943612864254492158686228429775",
"102587988680663847243263798931299140898",
"67362961455146761327995786974915428485",
"243207223384939734963868505828313034976"
],
"threshold": 0.9
},
"id": "CVE-2024-27003-d3a01b36"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9d1e795f754db1ac3344528b7af0b17b8146f321",
"digest": {
"length": 762.0,
"function_hash": "248222786402587046581506449832552033631"
},
"id": "CVE-2024-27003-f5e7f75d"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/clk/clk.c",
"function": "clk_summary_show"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b457105309d388e4081c716cf7b81d517ff74db4",
"digest": {
"length": 762.0,
"function_hash": "248222786402587046581506449832552033631"
},
"id": "CVE-2024-27003-fb5e9180"
}
]