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 f82f60a commit d270df1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cvehound/cve/CVE-2023-28866.cocci
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/// Files: net/bluetooth/hci_sync.c
/// Fix: bce56405201111807cc8e4f47c6de3e10b17c1ac
/// Fixes: d0b137062b2de75b264b84143d21c98abc5f5ad2

virtual detect

@fix_amd_init1@
symbol amp_init1;
@@

struct hci_init_stage amp_init1[] = {
...,
* {}
};

@err_amd_init1 depends on !fix_amd_init1@
symbol amp_init1;
position p;
@@

struct hci_init_stage amp_init1[] =@p {
* ...
};

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

0 comments on commit d270df1

Please sign in to comment.