Skip to content

Commit f614e9a

Browse files
committed
pkg/report: ignore the "uses deprecated v2 capabilities" warning
1 parent 1c53382 commit f614e9a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

pkg/report/linux.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,6 +1953,7 @@ var linuxOopses = append([]*oops{
19531953
compile(`WARNING: See https.* for mitigation options.`),
19541954
compile(`WARNING: kernel not compiled with CPU_SRSO`),
19551955
compile(`EXT4-[Ff][Ss](?: \(.*\))?:`), // printed in __ext4_msg
1956+
compile(`(?i)warning: .* uses deprecated v2 capabilities`),
19561957
},
19571958
crash.Warning,
19581959
},
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
TITLE:
2+
3+
DEC 4 15:56:11 SYZKALLER KERN.WARN KERNEL: [ 62.262385][ T6753] NETLINK: 'SYZ.2.235': ATTRIBUTE TYPE 2 HAS AN INVALID LENGTH.
4+
[ 63.031771][ T62] usb 6-1: USB disconnect, device number 4
5+
DEC 4 15:56:11 SYZKALLER KERN.INFO KERNEL: [ 63.031771][ T62] USB 6-1: USB DISCONNECT, DEVICE NUMBER 4
6+
[ 63.198470][ C2] net_ratelimit: 3 callbacks suppressed
7+
[ 63.200663][ C2] IPVS: lc: UDP 224.0.0.2:0 - no destination available
8+
DEC 4 15:56:11 SYZKALLER KERN.WARN KERNEL: [ 63.198470][ C2] NET_RATELIMIT: 3 CALLBACKS SUPPRESSED
9+
DEC 4 15:56:11 SYZKALLER KERN.ERR KERNEL: [ 63.200663][ C2] IPVS: LC: UDP 224.0.0.2:0 - NO DESTINATION AVAILABLE
10+
[ 63.653831][ T6896] mmap: syz.2.289 (6896) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst.
11+
DEC 4 15:56:12 SYZKALLER KERN.WARN KERNEL: [ 63.653831][ T6896] MMAP: SYZ.2.289 (6896) USES DEPRECATED REMAP_FILE_PAGES() SYSCALL. SEE DOCUMENTATION/MM/REMAP_FILE_PAGES.RST.
12+
[ 63.762171][ T6908] tc_dump_action: action bad kind
13+
DEC 4 15:56:12 SYZKALLER KERN.INFO KERNEL: [ 63.762171][ T6908] TC_DUMP_ACTION: ACTION BAD KIND
14+
[ 63.793299][ T6911] netlink: 'syz.1.294': attribute type 16 has an invalid length.
15+
[ 63.795449][ T6911] netlink: 64138 bytes leftover after parsing attributes in process `syz.1.294'.
16+
DEC 4 15:56:12 SYZKALLER KERN.WARN KERNEL: [ 63.793299][ T6911] NETLINK: 'SYZ.1.294': ATTRIBUTE TYPE 16 HAS AN INVALID LENGTH.
17+
DEC 4 15:56:12 SYZKALLER KERN.WARN KERNEL: [ 63.795449][ T6911] NETLINK: 64138 BYTES LEFTOVER AFTER PARSING ATTRIBUTES IN PROCESS `SYZ.1.294'.
18+
[ 64.026827][ T6950] capability: warning: `syz.2.309' uses deprecated v2 capabilities in a way that may be insecure
19+
DEC 4 15:56:12 SYZKALLER KERN.INFO KERNEL: [ 64.026827][ T6950] CAPABILITY: WARNING: `SYZ.2.309' USES DEPRECATED V2 CAPABILITIES IN A WAY THAT MAY BE INSECURE
20+
[ 64.238444][ C2] IPVS: lc: UDP 224.0.0.2:0 - no destination available
21+
DEC 4 15:56:13 SYZKALLER KERN.ERR KERNEL: [ 64.238444][ C2] IPVS: LC: UDP 224.0.0.2:0 - NO DESTINATION AVAILABLE
22+
[ 64.559613][ T65] Bluetooth: hci4: command 0xfc11 tx timeout
23+
[ 64.562245][ T5951] Bluetooth: hci4: Entering manufacturer mode failed (-110)

0 commit comments

Comments
 (0)