In the Linux kernel, the following vulnerability has been resolved:
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
Error paths do not free previously allocated memory. Add devm_kfree() to those failure paths.
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c",
"function": "st21nfca_connectivity_event_received"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55904086041ba4ee4070187b36590f8f8d6df4cd",
"digest": {
"length": 1240.0,
"function_hash": "304389569616941710113208189483129916073"
},
"id": "CVE-2022-49331-01bde8ed"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c",
"function": "st21nfca_connectivity_event_received"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db836b97464d44340b568e041fd24602858713f7",
"digest": {
"length": 1240.0,
"function_hash": "304389569616941710113208189483129916073"
},
"id": "CVE-2022-49331-16654340"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@55904086041ba4ee4070187b36590f8f8d6df4cd",
"digest": {
"line_hashes": [
"258243230200968914271115870658630116195",
"252749515764018637943259962215919126511",
"178409524439758806226583961823916663155",
"174548628521044748813583974131602997764",
"92990208198854973570111413703055253803",
"138031684893483988474579128037497569947",
"240147220040768905484119261833649993415",
"41016005744833858378279297108530080237",
"334219705598361864052290472742279668643",
"339147826811840240031938069597801121987",
"67745951671978126393027574892648823209",
"247464235062428436558287102710610874014",
"138071055499260295058012149595758685443"
],
"threshold": 0.9
},
"id": "CVE-2022-49331-33c88cea"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@593773088d615a46a42c97e01a0550d192bb7f74",
"digest": {
"line_hashes": [
"258243230200968914271115870658630116195",
"252749515764018637943259962215919126511",
"178409524439758806226583961823916663155",
"174548628521044748813583974131602997764",
"92990208198854973570111413703055253803",
"138031684893483988474579128037497569947",
"240147220040768905484119261833649993415",
"41016005744833858378279297108530080237",
"334219705598361864052290472742279668643",
"339147826811840240031938069597801121987",
"67745951671978126393027574892648823209",
"247464235062428436558287102710610874014",
"138071055499260295058012149595758685443"
],
"threshold": 0.9
},
"id": "CVE-2022-49331-46f5dc8c"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@db836b97464d44340b568e041fd24602858713f7",
"digest": {
"line_hashes": [
"258243230200968914271115870658630116195",
"252749515764018637943259962215919126511",
"178409524439758806226583961823916663155",
"174548628521044748813583974131602997764",
"92990208198854973570111413703055253803",
"138031684893483988474579128037497569947",
"240147220040768905484119261833649993415",
"41016005744833858378279297108530080237",
"334219705598361864052290472742279668643",
"339147826811840240031938069597801121987",
"67745951671978126393027574892648823209",
"247464235062428436558287102710610874014",
"138071055499260295058012149595758685443"
],
"threshold": 0.9
},
"id": "CVE-2022-49331-65bc2212"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "drivers/nfc/st21nfca/se.c",
"function": "st21nfca_connectivity_event_received"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@593773088d615a46a42c97e01a0550d192bb7f74",
"digest": {
"length": 1252.0,
"function_hash": "275685087958546650393671508148553230564"
},
"id": "CVE-2022-49331-cf77928c"
}
]