An issue was discovered in the Linux kernel before 5.0. The function _mdiobusregister() in drivers/net/phy/mdiobus.c calls putdevice(), which will trigger a fixedmdiobus_init use-after-free. This will cause a denial of service.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12819.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@6ff7b060535e87c2ae14dd8548512abfdda528fb",
"digest": {
"line_hashes": [
"147773872242412071957597278186266990222",
"83564509186527288654950358120884200045",
"187159067082708729085060594809968653003",
"121138888426355043789940962936695810373"
],
"threshold": 0.9
},
"id": "CVE-2019-12819-a97d8b2e",
"deprecated": false,
"target": {
"file": "drivers/net/phy/mdio_bus.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@6ff7b060535e87c2ae14dd8548512abfdda528fb",
"digest": {
"function_hash": "1803106693512403427951653839738191379",
"length": 1764.0
},
"id": "CVE-2019-12819-e82ce54b",
"deprecated": false,
"target": {
"file": "drivers/net/phy/mdio_bus.c",
"function": "__mdiobus_register"
}
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12819.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/6ff7b060535e87c2ae14dd8548512abfdda528fb",
"digest": {
"line_hashes": [
"147773872242412071957597278186266990222",
"83564509186527288654950358120884200045",
"187159067082708729085060594809968653003",
"121138888426355043789940962936695810373"
],
"threshold": 0.9
},
"id": "CVE-2019-12819-3534d533",
"deprecated": false,
"target": {
"file": "drivers/net/phy/mdio_bus.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/torvalds/linux/commit/6ff7b060535e87c2ae14dd8548512abfdda528fb",
"digest": {
"function_hash": "1803106693512403427951653839738191379",
"length": 1764.0
},
"id": "CVE-2019-12819-b585cac9",
"deprecated": false,
"target": {
"file": "drivers/net/phy/mdio_bus.c",
"function": "__mdiobus_register"
}
}
]