In the Linux kernel, the following vulnerability has been resolved:
usb: f_fs: Fix use-after-free for epfile
Consider a case where ffsfuncepsdisable is called from ffsfuncdisable as part of composition switch and at the same time ffsepfilerelease get called from userspace. ffsepfilerelease will free up the read buffer and call ffsdataclosed which in turn destroys ffs->epfiles and mark it as NULL. While this was happening the driver has already initialized the local epfile in ffsfuncepsdisable which is now freed and waiting to acquire the spinlock. Once spinlock is acquired the driver proceeds with the stale value of epfile and tries to free the already freed read buffer causing use-after-free.
Following is the illustration of the race:
CPU1 CPU2
ffsfuncepsdisable epfiles (local copy) ffsepfilerelease ffsdataclosed if (last file closed) ffsdatareset ffsdataclear ffsepfilesdestroy spinlock dereference epfiles
Fix this races by taking epfiles local copy & assigning it under spinlock and if epfiles(local) is null then update it in ffs->epfiles then finally destroy it. Extending the scope further from the race, protecting the ep related structures, and concurrent accesses.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe2b1add1055b903e2acd86b290a85297edc0b3",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-030e56a6",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72a8aee863af099d4434314c4536d6c9a61dcf3c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-060b1ee2",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72a8aee863af099d4434314c4536d6c9a61dcf3c",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-0bbecff5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"16012277587591157220937531393858248666",
"108208699923970330976738589341065460147",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e078b18753669615301d946297bafd69294ad2c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-14709fc3",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0042178a69eb77a979e36a50dcce9794a3140ef8",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-17a5aeeb",
"digest": {
"length": 428.0,
"function_hash": "52567724610127449966312581921713898508"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfe5f6fd335d882bcc829a1c8a7d462a455c626e",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-1e11f8f4",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32048f4be071f9a6966744243f1786f45bb22dc2",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-1e7d681b",
"digest": {
"length": 803.0,
"function_hash": "92171756885619003184098226961024705725"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9fc422c9a43e3d58d246334a71f3390401781dc",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-29eb5adb",
"digest": {
"length": 803.0,
"function_hash": "92171756885619003184098226961024705725"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9fc422c9a43e3d58d246334a71f3390401781dc",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-36e92654",
"digest": {
"length": 428.0,
"function_hash": "52567724610127449966312581921713898508"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0042178a69eb77a979e36a50dcce9794a3140ef8",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-3ff26df5",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe2b1add1055b903e2acd86b290a85297edc0b3",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-421248f7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"16012277587591157220937531393858248666",
"108208699923970330976738589341065460147",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9fc422c9a43e3d58d246334a71f3390401781dc",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-5681109a",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9fc422c9a43e3d58d246334a71f3390401781dc",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-635cbc37",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0042178a69eb77a979e36a50dcce9794a3140ef8",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-68c559f2",
"digest": {
"length": 803.0,
"function_hash": "92171756885619003184098226961024705725"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e078b18753669615301d946297bafd69294ad2c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-6bac32b4",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e078b18753669615301d946297bafd69294ad2c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-711e0a79",
"digest": {
"length": 790.0,
"function_hash": "60004959170328597724042337671659372325"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32048f4be071f9a6966744243f1786f45bb22dc2",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-7331c976",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0042178a69eb77a979e36a50dcce9794a3140ef8",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-7733c773",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"212357599275596328964280538445688997775",
"332104725256330489572234571376468867872",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe2b1add1055b903e2acd86b290a85297edc0b3",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-7ae8047a",
"digest": {
"length": 790.0,
"function_hash": "60004959170328597724042337671659372325"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfe5f6fd335d882bcc829a1c8a7d462a455c626e",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-7c1e917e",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe2b1add1055b903e2acd86b290a85297edc0b3",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-7cc0bb27",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0042178a69eb77a979e36a50dcce9794a3140ef8",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_closed",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-87f9ac28",
"digest": {
"length": 526.0,
"function_hash": "172311255144490692523117986694261923267"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfe5f6fd335d882bcc829a1c8a7d462a455c626e",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-92ed6b0b",
"digest": {
"length": 803.0,
"function_hash": "92171756885619003184098226961024705725"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfe5f6fd335d882bcc829a1c8a7d462a455c626e",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-a33e10f4",
"digest": {
"length": 428.0,
"function_hash": "52567724610127449966312581921713898508"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfe5f6fd335d882bcc829a1c8a7d462a455c626e",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-a48550da",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"212357599275596328964280538445688997775",
"332104725256330489572234571376468867872",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72a8aee863af099d4434314c4536d6c9a61dcf3c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-a7b604e2",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c9fc422c9a43e3d58d246334a71f3390401781dc",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-af55f39f",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"212357599275596328964280538445688997775",
"332104725256330489572234571376468867872",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32048f4be071f9a6966744243f1786f45bb22dc2",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-b3ae97dd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"212357599275596328964280538445688997775",
"332104725256330489572234571376468867872",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32048f4be071f9a6966744243f1786f45bb22dc2",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_data_clear",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-cae173ba",
"digest": {
"length": 425.0,
"function_hash": "296576593619911208787005061796216053086"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e078b18753669615301d946297bafd69294ad2c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-cb40cd0a",
"digest": {
"length": 415.0,
"function_hash": "34586221363979744465763721854873801259"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3e078b18753669615301d946297bafd69294ad2c",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-cd19c846",
"digest": {
"threshold": 0.9,
"line_hashes": [
"108172150919919490507484804717571299714",
"125988311472915376082142547383023122034",
"314171769230811324643775066525484063579",
"284478025634521381343346324920336751088",
"235387408272888940038106530751155161701",
"255390859231468449774270545514344112549",
"276912360011356311093206255858049291225",
"150974014089379130878208411436218644748",
"157364466622375041821362407486827387495",
"15266795513010393333726734392202837663",
"158371132887723761839072041648517812255",
"80236578800768641331482785082202207353",
"174156820972345212323327537323290286415",
"149130274734170125860909732086230336236",
"84881182915950736501451847448145456957",
"45681237712369566757117812720080641432",
"301534124354648632784547462929086318678",
"250013405415544996259170649715538157521",
"271210391958529304773683942410451223724",
"292639501011387473188336773310562609736",
"338281860910129474092534652962662557863",
"327835239714499499651097755550048940100",
"317027772517551266536731935707530958513",
"259459456932846048129479379226140768000",
"193273964683303508914925000275885268210",
"270604689870315156856816611068504721685",
"216547430342818003919672531422233349179",
"43100871746147542167392750087746251395",
"16012277587591157220937531393858248666",
"108208699923970330976738589341065460147",
"59642138238027024728436109079384837448",
"155337683551322961002635662783180229687",
"91617846115723881272246251897652748024",
"244868572553192757986300150695909966580",
"257746742946629042998004848443008486799",
"138145803401484579713828814121757348636",
"270414440916219892400422467290965195844",
"297829191519028624675362869546529812039",
"91479453881937442647132432547749409150",
"46566409404664213359800542004319683963"
]
},
"signature_type": "Line"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ebe2b1add1055b903e2acd86b290a85297edc0b3",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-d18eb3f4",
"digest": {
"length": 415.0,
"function_hash": "34586221363979744465763721854873801259"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72a8aee863af099d4434314c4536d6c9a61dcf3c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_enable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-d7e9d6ec",
"digest": {
"length": 790.0,
"function_hash": "60004959170328597724042337671659372325"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@72a8aee863af099d4434314c4536d6c9a61dcf3c",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-d814323c",
"digest": {
"length": 415.0,
"function_hash": "34586221363979744465763721854873801259"
},
"signature_type": "Function"
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@32048f4be071f9a6966744243f1786f45bb22dc2",
"signature_version": "v1",
"deprecated": false,
"target": {
"function": "ffs_func_eps_disable",
"file": "drivers/usb/gadget/function/f_fs.c"
},
"id": "CVE-2022-48822-fb953d1e",
"digest": {
"length": 428.0,
"function_hash": "52567724610127449966312581921713898508"
},
"signature_type": "Function"
}
]