In the Linux kernel, the following vulnerability has been resolved:
can: j1939: j1939sendone(): fix missing CAN header initialization
The read access to struct canxlframe::len inside of a j1939 created skbuff revealed a missing initialization of reserved and later filled elements in struct canframe.
This patch initializes the 8 byte CAN header with zero.
[
{
"id": "CVE-2022-49845-2c5c7e61",
"target": {
"function": "j1939_send_one",
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"length": 772.0,
"function_hash": "146914485324981461592964271996170325213"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2719f82ad5d8199cf5f346ea8bb3998ad5323b72"
},
{
"id": "CVE-2022-49845-4110b074",
"target": {
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"334417457651003671513384721861215469945",
"215977625062650439574418131557786345721",
"82782219418338551568418291323538291373"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3eb3d283e8579a22b81dd2ac3987b77465b2a22f"
},
{
"id": "CVE-2022-49845-4c934d35",
"target": {
"function": "j1939_send_one",
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"length": 776.0,
"function_hash": "267109542125792191263181720608583795791"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0513b095e1ef1469718564dec3fb3348556d0a8"
},
{
"id": "CVE-2022-49845-5139a657",
"target": {
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"334417457651003671513384721861215469945",
"215977625062650439574418131557786345721",
"82782219418338551568418291323538291373"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69e86c6268d59ceddd0abe9ae8f1f5296f316c3c"
},
{
"id": "CVE-2022-49845-5b87b552",
"target": {
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"334417457651003671513384721861215469945",
"215977625062650439574418131557786345721",
"82782219418338551568418291323538291373"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f8e0edeaa0f2b860bdbbf0aafb4492533043d650"
},
{
"id": "CVE-2022-49845-6ed9dd57",
"target": {
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"334417457651003671513384721861215469945",
"215977625062650439574418131557786345721",
"82782219418338551568418291323538291373"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2719f82ad5d8199cf5f346ea8bb3998ad5323b72"
},
{
"id": "CVE-2022-49845-8a6cb2d0",
"target": {
"function": "j1939_send_one",
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"length": 776.0,
"function_hash": "267109542125792191263181720608583795791"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f8e0edeaa0f2b860bdbbf0aafb4492533043d650"
},
{
"id": "CVE-2022-49845-cc8cf8cf",
"target": {
"function": "j1939_send_one",
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"length": 772.0,
"function_hash": "146914485324981461592964271996170325213"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3eb3d283e8579a22b81dd2ac3987b77465b2a22f"
},
{
"id": "CVE-2022-49845-cdca409d",
"target": {
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"334417457651003671513384721861215469945",
"215977625062650439574418131557786345721",
"82782219418338551568418291323538291373"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d0513b095e1ef1469718564dec3fb3348556d0a8"
},
{
"id": "CVE-2022-49845-f75ebfad",
"target": {
"function": "j1939_send_one",
"file": "net/can/j1939/main.c"
},
"signature_version": "v1",
"digest": {
"length": 772.0,
"function_hash": "146914485324981461592964271996170325213"
},
"deprecated": false,
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@69e86c6268d59ceddd0abe9ae8f1f5296f316c3c"
}
]