Bug 1716289

Summary: kernel 5.1 nf_nat_sip module UDP packet sending problem
Product: [Fedora] Fedora Reporter: Václav Nováček <waclaw66>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 30CC: airlied, bskeggs, hdegoede, ichavero, itamar, jarodwilson, jcline, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-5.1.9-300.fc30 kernel-5.1.9-200.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-17 18:28:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kernel log none

Description Václav Nováček 2019-06-03 07:21:29 UTC
Created attachment 1576505 [details]
kernel log

1. Please describe the problem:
Since kernel 5.1 sip calls don't work, registration to sip provider fails

2. What is the Version-Release number of the kernel:
5.1.5

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
Yes in 5.0, problems started with 5.1.5

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
Install kernel 5.1.5 and try to connect to some sip provider or test it:
sipp sip.odorik.cz

When nf_nat_sip is removed by:
modprobe -r nf_nat_sip
sip calls work properly

unfortunately blacklisting the module within /etc/modprobe/blacklist.conf doesn't work for me, module is loaded after restart again

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
Don't know

6. Are you running any modules that not shipped with directly Fedora's kernel?:
No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Comment 1 Václav Nováček 2019-06-03 08:20:45 UTC
I have tested the rawhide kernel, but the problem persists...
5.0.17-300.fc30.x86_64 OK
5.1.5-300.fc30.x86_64 SIP KO
5.2.0-0.rc2.git1.2.fc31.x86_64 SIP KO

Comment 2 Václav Nováček 2019-06-03 21:16:55 UTC
It is an already discovered bug...
https://lkml.org/lkml/2019/5/20/377

Comment 3 Václav Nováček 2019-06-06 07:25:50 UTC
Fixed within 5.2.0-0.rc3, but no fix provided for stable 5.1.

Comment 4 Fedora Update System 2019-06-12 13:49:12 UTC
FEDORA-2019-20ac2c6b4d has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-20ac2c6b4d

Comment 5 Fedora Update System 2019-06-13 00:55:57 UTC
kernel-5.1.9-300.fc30, kernel-headers-5.1.9-300.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-1b21b21011

Comment 6 Fedora Update System 2019-06-13 02:31:07 UTC
kernel-5.1.9-200.fc29, kernel-headers-5.1.9-200.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-20ac2c6b4d

Comment 7 Václav Nováček 2019-06-15 14:39:07 UTC
The bug is still not fixed in stable branch, not even in 5.1.10.
https://github.com/torvalds/linux/commit/6bac76db1da3cb162c425d58ae421486f8e43955

Comment 8 Fedora Update System 2019-06-17 18:28:20 UTC
kernel-5.1.9-300.fc30, kernel-headers-5.1.9-300.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Jeremy Cline 2019-06-17 20:42:25 UTC
Hi Václav,

Did you test kernel-5.1.9 from Fedora? I cherry-picked the fix: https://src.fedoraproject.org/rpms/kernel/c/c0bed758351738c1f970358a32d5793ccfea21c4?branch=f30

Comment 10 Václav Nováček 2019-06-17 20:58:39 UTC
Hi Jeremy,

no, I did not, I thought that Fedora uses the official kernel from kernel.org.
After installing 5.1.9 from Fedora, UDP works properly.

Thanks a lot and I'm sorry for my confusion.

Comment 11 Jeremy Cline 2019-06-17 21:13:09 UTC
No worries. Yes, we use very-nearly vanilla kernels, but we do pick up small numbers of patches in cases where it takes a while for a patch to filter back to stable.

Comment 12 Fedora Update System 2019-06-17 23:33:34 UTC
kernel-5.1.9-200.fc29, kernel-headers-5.1.9-200.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.