In the Linux kernel, the following vulnerability has been resolved:
staging: fbtft: core: set smemlen before fbdeferredioinit call
The fbtftframebufferalloc() calls fbdeferredioinit() before initializing info->fix.smemlen. It is set to zero by the framebufferalloc() function. It will trigger a WARNON() at the start of fbdeferredio_init() and the function will not do anything.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50130.json"
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"43184642192304194876106773948248668814",
"187583204775927671950112213251588813576",
"149009778782362019809355321576930780579",
"329570873184081682426065931185811325090",
"257577036132881491677705497409946488089",
"18067141787664719392620449418038989509",
"277978564285381088759673091383868633128",
"206229333118795311696444606602094282065"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50130-794d58eb",
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ae6abe240306f878557d6eadd950a2e2561f59f"
},
{
"digest": {
"length": 5209.0,
"function_hash": "133112953886595217509887674675756604418"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50130-96474f4d",
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5185c319e8ea67657e0d3edd520a7276516c506a"
},
{
"digest": {
"length": 5212.0,
"function_hash": "121236384945998118580281016172253475209"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50130-a805125e",
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4178bfa3fc9de556dfe248a6eabe29280f0ffda5"
},
{
"digest": {
"length": 5251.0,
"function_hash": "15954884245034627004040773350187295156"
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Function",
"id": "CVE-2022-50130-dc352a86",
"target": {
"function": "fbtft_framebuffer_alloc",
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6ae6abe240306f878557d6eadd950a2e2561f59f"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"43184642192304194876106773948248668814",
"187583204775927671950112213251588813576",
"149009778782362019809355321576930780579",
"329570873184081682426065931185811325090",
"257577036132881491677705497409946488089",
"18067141787664719392620449418038989509",
"277978564285381088759673091383868633128",
"206229333118795311696444606602094282065"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50130-dda59cb8",
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4178bfa3fc9de556dfe248a6eabe29280f0ffda5"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"65261511569413992980189142838676611072",
"106949404633036864278227433973633001859",
"149009778782362019809355321576930780579",
"329570873184081682426065931185811325090",
"257577036132881491677705497409946488089",
"18067141787664719392620449418038989509",
"277978564285381088759673091383868633128",
"206229333118795311696444606602094282065"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2022-50130-fef401cd",
"target": {
"file": "drivers/staging/fbtft/fbtft-core.c"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5185c319e8ea67657e0d3edd520a7276516c506a"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50130.json"