Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Efremov <efremov@linux.com>
  • Loading branch information
evdenis committed Feb 13, 2024
1 parent 9a526b9 commit a4bdaef
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions cvehound/cve/CVE-2023-1670.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/// Files: drivers/net/ethernet/xircom/xirc2ps_cs.c drivers/net/pcmcia/xirc2ps_cs.c
/// Fix: e8d20c3ded59a092532513c9bd030d1ea66f5f44
/// Fixes: v2.6.12-rc2

virtual detect

@err@
identifier local, dev;
position p;
@@

xirc2ps_detach(...)
{
... when != cancel_work_sync(&local->tx_timeout_task);
* unregister_netdev@p(dev);
...
}

@script:python depends on detect@
p << err.p;
@@
coccilib.report.print_report(p[0], 'ERROR: CVE-2023-1670')

0 comments on commit a4bdaef

Please sign in to comment.