diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-12-05 11:58:09 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-12-05 11:41:41 +0000 |
| commit | f614e9a5c2a80d331de29cdb8c2ed98c07cc171c (patch) | |
| tree | f92ad3433fb4bd22728eae0f546841471ca1fb07 /pkg/report | |
| parent | 1c5338267178b6072458eb4201dfdfd044a43fe1 (diff) | |
pkg/report: ignore the "uses deprecated v2 capabilities" warning
Diffstat (limited to 'pkg/report')
| -rw-r--r-- | pkg/report/linux.go | 1 | ||||
| -rw-r--r-- | pkg/report/testdata/linux/report/731 | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/pkg/report/linux.go b/pkg/report/linux.go index 9f538e595..0ab793a73 100644 --- a/pkg/report/linux.go +++ b/pkg/report/linux.go @@ -1953,6 +1953,7 @@ var linuxOopses = append([]*oops{ compile(`WARNING: See https.* for mitigation options.`), compile(`WARNING: kernel not compiled with CPU_SRSO`), compile(`EXT4-[Ff][Ss](?: \(.*\))?:`), // printed in __ext4_msg + compile(`(?i)warning: .* uses deprecated v2 capabilities`), }, crash.Warning, }, diff --git a/pkg/report/testdata/linux/report/731 b/pkg/report/testdata/linux/report/731 new file mode 100644 index 000000000..d80832e55 --- /dev/null +++ b/pkg/report/testdata/linux/report/731 @@ -0,0 +1,23 @@ +TITLE: + +DEC 4 15:56:11 SYZKALLER KERN.WARN KERNEL: [ 62.262385][ T6753] NETLINK: 'SYZ.2.235': ATTRIBUTE TYPE 2 HAS AN INVALID LENGTH. +[ 63.031771][ T62] usb 6-1: USB disconnect, device number 4 +DEC 4 15:56:11 SYZKALLER KERN.INFO KERNEL: [ 63.031771][ T62] USB 6-1: USB DISCONNECT, DEVICE NUMBER 4 +[ 63.198470][ C2] net_ratelimit: 3 callbacks suppressed +[ 63.200663][ C2] IPVS: lc: UDP 224.0.0.2:0 - no destination available +DEC 4 15:56:11 SYZKALLER KERN.WARN KERNEL: [ 63.198470][ C2] NET_RATELIMIT: 3 CALLBACKS SUPPRESSED +DEC 4 15:56:11 SYZKALLER KERN.ERR KERNEL: [ 63.200663][ C2] IPVS: LC: UDP 224.0.0.2:0 - NO DESTINATION AVAILABLE +[ 63.653831][ T6896] mmap: syz.2.289 (6896) uses deprecated remap_file_pages() syscall. See Documentation/mm/remap_file_pages.rst. +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. +[ 63.762171][ T6908] tc_dump_action: action bad kind +DEC 4 15:56:12 SYZKALLER KERN.INFO KERNEL: [ 63.762171][ T6908] TC_DUMP_ACTION: ACTION BAD KIND +[ 63.793299][ T6911] netlink: 'syz.1.294': attribute type 16 has an invalid length. +[ 63.795449][ T6911] netlink: 64138 bytes leftover after parsing attributes in process `syz.1.294'. +DEC 4 15:56:12 SYZKALLER KERN.WARN KERNEL: [ 63.793299][ T6911] NETLINK: 'SYZ.1.294': ATTRIBUTE TYPE 16 HAS AN INVALID LENGTH. +DEC 4 15:56:12 SYZKALLER KERN.WARN KERNEL: [ 63.795449][ T6911] NETLINK: 64138 BYTES LEFTOVER AFTER PARSING ATTRIBUTES IN PROCESS `SYZ.1.294'. +[ 64.026827][ T6950] capability: warning: `syz.2.309' uses deprecated v2 capabilities in a way that may be insecure +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 +[ 64.238444][ C2] IPVS: lc: UDP 224.0.0.2:0 - no destination available +DEC 4 15:56:13 SYZKALLER KERN.ERR KERNEL: [ 64.238444][ C2] IPVS: LC: UDP 224.0.0.2:0 - NO DESTINATION AVAILABLE +[ 64.559613][ T65] Bluetooth: hci4: command 0xfc11 tx timeout +[ 64.562245][ T5951] Bluetooth: hci4: Entering manufacturer mode failed (-110) |
