Linux kernel module: NULL pointer dereferences
Bug #1213411 reported by
Didier Barvaux
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
rohc | Status tracked in Rohc-main | |||||
Rohc-1.5.x |
Invalid
|
Undecided
|
Didier Barvaux | |||
Rohc-1.6.x |
Won't Fix
|
Undecided
|
Didier Barvaux | |||
Rohc-1.7.x |
Won't Fix
|
Undecided
|
Didier Barvaux | |||
Rohc-main |
Fix Released
|
Medium
|
Didier Barvaux |
Bug Description
Mikhail Gruzdev reported on the mailing list that:
> The other thing I've noticed is that rohc_test throws multiple
> NULL-pointer dereference oopses in kernel log during the test.
And, in a follow-up message:
> > I didn't see them. What kernel version did you used?
>
> It's 3.2.0-23-
> I've uploaded kernel and userspace message logs:
>
> https:/
>
> and
>
> https:/
To post a comment you must log in.
The problem seems to be related to the way the ROHC compressor/ decompressor couples are created and destroyed in the rohc_test.ko module. Upon the first /proc open, the couples are created. They are also released upon the first /proc close. However, some other /proc may still be used and ask the rohc_test.ko module to perform some compression/ decompression.
Fix coded. To be tested in VM.