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 Sep 11, 2023
1 parent f27297f commit 6b88bac
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cvehound/cve/CVE-2022-3635.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/// Files: drivers/atm/idt77252.c
/// Fix: 3f4093e2bf4673f218c0bf17d8362337c400e77b
/// Fixes: v2.6.12-rc2

virtual detect

@err@
symbol idt77252_chain;
identifier card;
position p;
@@

idt77252_exit(void)
{
...
while (idt77252_chain) {
... when != del_timer_sync(&card->tst_timer);
when != timer_shutdown_sync(&card->tst_timer);
* deinit_card@p(card);
...
}
...
}

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

0 comments on commit 6b88bac

Please sign in to comment.