In the Linux kernel, the following vulnerability has been resolved:
drm/bridge: Add missing pmruntimeput_sync
pmruntimegetsync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by replacing this API with pmruntimeresumeand_get(), which will not change the runtime PM counter on error. Besides, a matching decrement is needed on the error handling path to keep the counter balanced.
[
{
"id": "CVE-2022-49128-686327cc",
"signature_version": "v1",
"digest": {
"function_hash": "66175472686729683756103488357090287026",
"length": 1000.0
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@792533e54cd6e89191798ccd1abd590c62b9077e",
"target": {
"file": "drivers/gpu/drm/bridge/nwl-dsi.c",
"function": "nwl_dsi_bridge_mode_set"
}
},
{
"id": "CVE-2022-49128-c257f194",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"218616523677632331655173681059184388301",
"279997256217594831223549126721732183281",
"275007307810572858147900548596256340259",
"21897908226801330936276423844570192310",
"258360664349920619978160543670281033668",
"271789198380051932538375359357536520521",
"155413281640782518902193550440109101788",
"230416095062500282709312105036952951207",
"323767123817461387695641809034571826369",
"39338105334761049738561773457405270484",
"274812968953538938579788078171866667298",
"206524027277658593784914845312798500910",
"232918945395767625142953553090900971612",
"114901899817195459065551906884648247411",
"212130333365728425743576059363476646019",
"11055216422623008484355266763836950821",
"114503932994665462956253483802928327077",
"129671722604600594709059064808222439933",
"134422154444249429776962122774854046885",
"11299400340699171783958527201119419346",
"958422447649024854970409030429527987",
"35486009880859678848559125136879041804"
]
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@792533e54cd6e89191798ccd1abd590c62b9077e",
"target": {
"file": "drivers/gpu/drm/bridge/nwl-dsi.c"
}
}
]