Getting Started with Contributing to Linux Kernel @ IGDTUW

I talked about “Getting started with contributing to Linux Kernel” at my university, Indira Gandhi Delhi Technical University on 14th March’15.

Continue reading

#linux-kernel, #linux-kernel-patch

Faults in Linux Kernel 3.x : Disable interrupts and not re-enable them

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the report which checks here interrupts are turned off but not turned on again, using the functions local_irq_save or save_and_cli, where interrupts are turned off but not turned on again, using the functions cli, where a lock that is taken but not released. Interrupts are disabled at the same time and where a lock that is taken more than once. Interrupts are disabled at the same time. You can view the annotated report here and here.

Continue reading

#coccinelle-scripts, #linux-kernel, #linux-kernel-3-x, #linux-kernel-bugs, #linux-kernels

Faults in Linux Kernel 3.x : Double Locks

As part of my work, I need to annotate the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

This blog post is about the bugs and FPs I found for the report which checks for locks taken two times. You can view the annotated report here.

Continue reading

#coccinelle-scripts, #linux-kernel, #linux-kernel-bugs, #linux-kernels

Faults in Linux Kernel 3.x : Wrong use of krealloc

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

As I’m reading the reports (newer ones), so today I completed Linux_realloc.new.org.

Continue reading

#bug, #coccinelle, #coccinelle-scripts, #faults, #krealloc, #linux-kernel, #linux-kernels

Faults in Linux Kernel 3.x : Locking but not unlocking

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

As I’m reading the reports (newer ones), so today I completed Linux_lockintr.new.org.

Continue reading

#bugs, #coccinelle-scripts, #faults, #linux-kernel, #linux-kernels

Faults in Linux Kernel 3.x : Interrupts turned off but not turned on again

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

As I’m reading the reports (newer ones), so today I completed Linux_intr.new.org.

Continue reading

#bugs, #coccinelle, #coccinelle-scripts, #faults, #interrupt, #linux-kernel, #linux-kernels

Faults in Linux 3.x : Using value from get_user without check as array index

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

As I’m reading the reports (newer ones), so today I completed Linux_get.new.org.

Continue reading

#array-indices, #bugs, #coccinelle, #coccinelle-scripts, #faults, #get_user, #linux-kernel, #linux-kernels

Faults in Linux 3.x : Using Floating Point Values

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

So while reading the reports (newer ones), when I started Linux_floatop.new.org, there was only one TODO. Means they have not at all used floating point values in recent Linux Kernel.

Continue reading

#bug, #coccinelle-scripts, #faults, #floating-point, #floating-point-values, #linux-kernel, #linux-kernels

Faults in Linux Kernel 3.x : Using Freed Memory

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

So in reading the reports (newer ones) I have recently completed Linux_kfree.new.org.

Continue reading

#bugs, #coccinelle-scripts, #faults, #kfree, #linux-kernel, #linux-kernels

Faults in Linux Kernel 3.x : Allocating Large Arrays on Stack

As part of my work, I need to annotate  the reports generated using Coccinelle Scripts as bugs/FPs for recent Linux Kernels, recent as in versions > 3.0 till the current one 3.18.

So in reading the reports (newer ones) I have recently completed Linux_var.new.org.

Continue reading

#bugs, #coccinelle-scripts, #faults, #large-arrays, #linux-kernel, #linux-kernels