In the Linux kernel, the following vulnerability has been resolved:
Input: appletouch - initialize work before device registration
Syzbot has reported warning in _flushwork(). This warning is caused by work->func == NULL, which means missing work initialization.
This may happen, since inputdev->close() calls cancelworksync(&dev->work), but dev->work initalization happens after inputregister_device() call.
So this patch moves dev->work initialization before registering input device
[
{
"events": [
{
"introduced": "2.6.23"
},
{
"fixed": "4.4.298"
}
]
},
{
"events": [
{
"introduced": "4.5.0"
},
{
"fixed": "4.9.296"
}
]
},
{
"events": [
{
"introduced": "4.10.0"
},
{
"fixed": "4.14.261"
}
]
},
{
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.224"
}
]
},
{
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.170"
}
]
},
{
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.90"
}
]
},
{
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.13"
}
]
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46932.json"