In the Linux kernel, the following vulnerability has been resolved:
fbdev: savage: Handle err return when savagefbcheckvar failed
The commit 04e5eac8f3ab("fbdev: savage: Error out if pixclock equals zero") checks the value of pixclock to avoid divide-by-zero error. However the function savagefbprobe doesn't handle the error return of savagefbcheck_var. When pixclock is 0, it will cause divide-by-zero error.
[
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"17131862220582076114170361286262468687",
"24011818074806674438595520683143186582",
"67522124797840037307542312827620981117",
"34518763602175538298957906574902925448"
]
},
"id": "CVE-2024-39475-00937546",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b2c67e30b4e1d2ae19dba8b8e8f3b5fd3cf8089",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c",
"function": "savagefb_probe"
},
"digest": {
"function_hash": "280767991903673079509232686878758186940",
"length": 3319.0
},
"id": "CVE-2024-39475-0301e390",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86435f39c18967cdd937d7a49ba539cdea7fb547",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"17131862220582076114170361286262468687",
"24011818074806674438595520683143186582",
"67522124797840037307542312827620981117",
"34518763602175538298957906574902925448"
]
},
"id": "CVE-2024-39475-3b6fbcb1",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be754cbd77eaf2932408a4e18532e4945274a5c7",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c",
"function": "savagefb_probe"
},
"digest": {
"function_hash": "280767991903673079509232686878758186940",
"length": 3319.0
},
"id": "CVE-2024-39475-4645a00d",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4b2c67e30b4e1d2ae19dba8b8e8f3b5fd3cf8089",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c",
"function": "savagefb_probe"
},
"digest": {
"function_hash": "280767991903673079509232686878758186940",
"length": 3319.0
},
"id": "CVE-2024-39475-4fa8b4a2",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@be754cbd77eaf2932408a4e18532e4945274a5c7",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c",
"function": "savagefb_probe"
},
"digest": {
"function_hash": "280767991903673079509232686878758186940",
"length": 3319.0
},
"id": "CVE-2024-39475-735c51ef",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32f92b0078ebf79dbe4827288e0acb50d89d3d5b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"17131862220582076114170361286262468687",
"24011818074806674438595520683143186582",
"67522124797840037307542312827620981117",
"34518763602175538298957906574902925448"
]
},
"id": "CVE-2024-39475-7ac7b42e",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32f92b0078ebf79dbe4827288e0acb50d89d3d5b",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"17131862220582076114170361286262468687",
"24011818074806674438595520683143186582",
"67522124797840037307542312827620981117",
"34518763602175538298957906574902925448"
]
},
"id": "CVE-2024-39475-d8b8297a",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8385ff814ca4cb7e63789841e6ec2a14c73e1e8",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"17131862220582076114170361286262468687",
"24011818074806674438595520683143186582",
"67522124797840037307542312827620981117",
"34518763602175538298957906574902925448"
]
},
"id": "CVE-2024-39475-debc93c4",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@86435f39c18967cdd937d7a49ba539cdea7fb547",
"signature_version": "v1"
},
{
"deprecated": false,
"target": {
"file": "drivers/video/fbdev/savage/savagefb_driver.c",
"function": "savagefb_probe"
},
"digest": {
"function_hash": "266587090933237550470037678027722610990",
"length": 3382.0
},
"id": "CVE-2024-39475-e6fc5aa6",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b8385ff814ca4cb7e63789841e6ec2a14c73e1e8",
"signature_version": "v1"
}
]