After nearly 20 years in various kinds of infosec companies, there are companies where jerks are not common, and companies where the jerks are very common.
You cannot fix the jerks in the first kind of company. Learn from them, quietly, and look for your exit.
Some people think that there is a correlation between being really good and being a jerk. Only in the sense that the only way a jerk can survive is if they are very very good. Some other people try to pattern-match them. Mimicking the "jerk" part is easy. Mimicking the "very very good" part is not. (See also: making a name for yourself by being a jerk is a lot easier than making a name for yourself by being really good.)
There are good people who are not jerks. I've worked with a bunch of them.