In the Linux kernel, the following vulnerability has been resolved:
clk: qcom: clk-rcg2: Update logic to calculate D value for RCG
The display pixel clock has a requirement on certain newer platforms to support M/N as (2/3) and the final D value calculated results in underflow errors. As the current implementation does not check for D value is within the accepted range for a given M & N value. Update the logic to calculate the final D value based on the range.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96888f0dcf351e758b9df57e015a48427ca709c1",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-0087f12b",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52592f9afbfe01bce8f8953e4f19cbe3bcbdbd3a",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-05bb1f76",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@334720f418f57b1d969dad2117b21f9388cb9395",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-13fae677",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52592f9afbfe01bce8f8953e4f19cbe3bcbdbd3a",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-1f389e5b",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4e2e31971354790b0d1fa3e783452a9d135fcff",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-2e7a9963",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@96888f0dcf351e758b9df57e015a48427ca709c1",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-54c1eb38",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a4e2e31971354790b0d1fa3e783452a9d135fcff",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-8523ad96",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58922910add18583d5273c2edcdb9fd7bf4eca02",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-8c3bb332",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34dca60982e93e69ae442aa2d36ce61c9a3bb563",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-b2982f62",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@34dca60982e93e69ae442aa2d36ce61c9a3bb563",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-c53a0819",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@58922910add18583d5273c2edcdb9fd7bf4eca02",
"target": {
"function": "__clk_rcg2_configure",
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-e68b76b9",
"signature_type": "Function",
"digest": {
"length": 1048.0,
"function_hash": "114583115146237127337298053606261425259"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@334720f418f57b1d969dad2117b21f9388cb9395",
"target": {
"file": "drivers/clk/qcom/clk-rcg2.c"
},
"deprecated": false,
"signature_version": "v1",
"id": "CVE-2022-49189-fdd5ed9a",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"278813289194942880334291887541785964515",
"82392282728068609164306946772506338867",
"258055343720459910783917344040862167095",
"266460656283921069134672775485687220222",
"192860908561176303293098442888839542257",
"275600889507891116180636552513048561002",
"42126561624616008415270755303490725582",
"305237343963727781276373619020946217437",
"338694851943455498588535956907155771707"
]
}
}
]