openvswitch: nf_ct_put is called with null pointer

Bug #1978865 reported by Nick Rogers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned
Jammy
Fix Committed
Undecided
Unassigned
openvswitch (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Using an openvswitch bridge with conntrack flows causes a kernel warning trace for every packet. This does not break conntrack functionality, but causes a big packet forwarding performance degradation and very noisy and large kernel.log/journal/syslog/etc. The cause is a regression in the 5.15 LTS kernel. This seems to have been fixed in mainline 5.15.36, but I don't see the fix in any of the jammy branches.

Upgrading to mainline 5.15.36 or beyond from the Ubuntu PPA fixes the problem.

Here is a relevant discussion with reference to the fix applied to mainline:
https://<email address hidden>/T/

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-39-generic 5.15.0-39.42
ProcVersionSignature: Ubuntu 5.15.0-39.42-generic 5.15.35
Uname: Linux 5.15.0-39-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl icp
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jun 15 15:38 seq
 crw-rw---- 1 root audio 116, 33 Jun 15 15:38 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckMismatches: ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
Date: Wed Jun 15 15:41:13 2022
InstallationDate: Installed on 2022-06-15 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
MachineType: Supermicro SYS-E300-8D
PciMultimedia:

ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-39-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-39-generic N/A
 linux-backports-modules-5.15.0-39-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.2
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/31/2017
dmi.bios.release: 5.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1.0c
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X10SDV-TP8F
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 1
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1.0c:bd10/31/2017:br5.6:svnSupermicro:pnSYS-E300-8D:pvr0123456789:rvnSupermicro:rnX10SDV-TP8F:rvr1.01:cvnSupermicro:ct1:cvr0123456789:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: SYS-E300-8D
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro

Revision history for this message
Nick Rogers (tsp435cds) wrote :
Revision history for this message
Nick Rogers (tsp435cds) wrote :

Please refer to the many Call Trace messages in CurrentDmesg.txt.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Juerg Haefliger (juergh) wrote :
Changed in linux (Ubuntu Jammy):
status: New → Fix Committed
Changed in openvswitch (Ubuntu):
status: New → Invalid
no longer affects: openvswitch (Ubuntu Jammy)
Revision history for this message
Nick Rogers (tsp435cds) wrote :

Thank you all!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.